Hello community,

here is the log from the commit of package perl-Text-BibTeX for 
openSUSE:Factory checked in at 2017-06-25 19:20:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-BibTeX (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-BibTeX"

Sun Jun 25 19:20:38 2017 rev:11 rq:503645 version:0.80

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-BibTeX/perl-Text-BibTeX.changes        
2016-06-12 18:51:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new/perl-Text-BibTeX.changes   
2017-06-25 19:20:39.896723382 +0200
@@ -1,0 +2,80 @@
+Wed May 31 07:32:43 UTC 2017 - wer...@suse.de
+
+- Remove patches now upstream
+  * Text-BibTeX-rpmlint.patch
+  * perl-Text-BibTeX-uninit.patch
+- Add file cpanspec.yml
+- Make if build
+- Add patch manual-pages-for-libbtparse.patch to get API manual
+  pages for libbtparse into third section as well
+- Split package for libbtparse.so off from main package
+
+-------------------------------------------------------------------
+Thu May 25 09:15:08 UTC 2017 - co...@suse.com
+
+- updated to 0.80
+   see /usr/share/doc/packages/perl-Text-BibTeX/Changes
+
+  0.80 2017-03-25
+   * Fix tests in order to work without dot in @INC (thanks Kent Fredric for 
the bug report)
+  
+  0.79 2017-03-13
+   * Further fixes to allow the parse of multiple files (Karl Wette).
+  
+  0.78 2017-01-10
+   * Fixed some issues with uninitialized arrays and s390
+   * Fixed test with fileno (thanks to Karl Wette).
+   * Allow state of btparse parser to be reset, for parsing multiple files 
(Karl Wette):
+     - bt_parse_entry(): reset parser state if infile == NULL
+     - BibTeX.xs: add _reset_parse(), _reset_parse_s() methods to 
Text::BibTeX::Entry
+     - Text::BibTeX::Entry: allow new() or parse() with undefined filehandle; 
calls _reset_parse()
+     - Text::BibTeX::Entry: allow new() or parse_s() with undefined text; 
calls _reset_parse_s()
+     - Text::BibTeX::File: close() calls Text::BibTeX::Entry->new($filename, 
undef) to reset parser
+  
+  0.77 2016-09-20
+   * Fixes for testing and installing on Darwin (install_name issues).
+     Thanks to Nuno "smash" Carvalho for the report and debug help.
+  
+  0.76 2016-07-06
+   * Added 'reset_macros' option to Text::BibTeX::File, in order
+     to remove all defined macros (except months)
+  
+  0.76_02 2016-07-05
+   * Fix issue with binmode not being copied in Clone method.
+   * Make month abbreviations available always, and not only when
+     using Text::BibTeX::Bib.
+   * Added docs to supported options for Text::BibTeX::Entry.
+  
+  0.76_01 2016-07-04
+   * Solved nasty bug when using lvalues as parameters (substr).
+   * Added tests.
+  
+  0.75 2016-07-03
+   * Stable version with bytes/utf-8 support.
+  
+  0.75_05 2016-07-02
+   * Get 5.8.x back aboard;
+  
+  0.75_04 2016-07-01
+   * Fixed reference to empty function name;
+  
+  0.75_03 2016-06-30
+   * Rename split_list to isplit_list, and creaed split_list wrapper;
+   * Added normalization option;
+  
+  0.75_02 2016-06-25
+   * Minor fix for some perl version parsing problems.
+  
+  0.75_01 2016-06-24
+   * Added binmode option. Should allow unicode handling directly.
+  
+  0.74 2016-06-15
+   * Get perl 5.8.x back.
+  
+  0.73 2016-06-14
+   * Change some documentation in order to use ->new method, instead
+     of older 'new Class()' approach;
+   * Add sensible default values to Text::BibTeX::NameFormat to reduce
+     the amount of segmentation faults for users forgetting arguments.
+
+-------------------------------------------------------------------

Old:
----
  Text-BibTeX-0.72.tar.gz
  Text-BibTeX-rpmlint.patch
  perl-Text-BibTeX-uninit.patch

New:
----
  Text-BibTeX-0.80.tar.gz
  cpanspec.yml
  manual-pages-for-libbtparse.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Text-BibTeX.spec ++++++
--- /var/tmp/diff_new_pack.yAn5te/_old  2017-06-25 19:20:41.532492188 +0200
+++ /var/tmp/diff_new_pack.yAn5te/_new  2017-06-25 19:20:41.536491622 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Text-BibTeX
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,19 @@
 #
 
 
-%define cpan_name Text-BibTeX
 Name:           perl-Text-BibTeX
-Version:        0.72
+Version:        0.80
 Release:        0
-Summary:        Interface to read and parse BibTeX files
+%define cpan_name Text-BibTeX
+Summary:        Interface to Read and Parse BibTeX Files
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Text-BibTeX/
-Source0:        
http://www.cpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
-Patch0:         Text-BibTeX-rpmlint.patch
-Patch2:         perl-Text-BibTeX-uninit.patch
+Source0:        
https://cpan.metacpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+Patch0:         manual-pages-for-libbtparse.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  glibc-devel
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Capture::Tiny) >= 0.06
@@ -36,7 +38,6 @@
 BuildRequires:  perl(Module::Build) >= 0.360300
 BuildRequires:  perl(Scalar::Util) >= 1.42
 Requires:       perl(Scalar::Util) >= 1.42
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{perl_requires}
 
 %description
@@ -54,23 +55,31 @@
 object-oriented class hierarchy centred around the 'Text::BibTeX::Entry'
 class, mainly because they are specific to bibliographic data and operate
 on generic strings (rather than being tied to a particular BibTeX entry).
-These are also documented here, in the "MISCELLANEOUS FUNCTIONS" manpage.
+These are also documented here, in "MISCELLANEOUS FUNCTIONS".
 
 Note that every module described here begins with the 'Text::BibTeX'
 prefix. For brevity, I have dropped this prefix from most class and module
 names in the rest of this manual page (and in most of the other manual
 pages in the library).
 
+%package        devel
+Summary:        C library for parsing and processing BibTeX files
+Group:          Development/Libraries/Other
+Provides:       %{name}:%{_libdir}/libbtparse.so
+
+%description    devel
+The libbtparse is a C library for parsing and processing BibTeX files.
+Note that the interface provided by libbtparse, while complete, is fairly
+low-level.  If you have more sophisticated needs, you might be interested
+the "Text::BibTeX" module for Perl.
+
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch0
-%patch2 -p1
+%patch0 -p1
 find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
-export CFLAGS='%{optflags}'
-export CC=gcc
-perl Build.PL installdirs=vendor optimize="%{optflags}"
+%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
 ./Build build flags=%{?_smp_mflags}
 
 %check
@@ -78,11 +87,21 @@
 
 %install
 ./Build install destdir=%{buildroot} create_packlist=0
+chmod -R u+rw %{buildroot}
 %perl_gen_filelist
 
+%post devel -p /sbin/ldconfig
+
+%postun devel -p /sbin/ldconfig
+
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes README README.OLD scripts THANKS
+%doc Changes examples README README.OLD scripts THANKS
+%exclude %{_mandir}/man3/*.3.gz
+
+%files devel
+%defattr(-,root,root,755)
 %{_libdir}/libbtparse.so
+%{_mandir}/man3/*.3.gz
 
 %changelog

++++++ Text-BibTeX-0.72.tar.gz -> Text-BibTeX-0.80.tar.gz ++++++
++++ 5887 lines of diff (skipped)

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
++++++ manual-pages-for-libbtparse.patch ++++++
--- Text-BibTeX-0.80/inc/MyBuilder.pm   2017-03-25 20:41:12.000000000 +0000
+++ Text-BibTeX-0.80/inc/MyBuilder.pm   2017-05-31 09:58:18.898289185 +0000
@@ -162,8 +162,8 @@ sub ACTION_create_manpages {
     my $version = $self->notes('btparse_version');
     for my $pod (@$pods) {
         my $man = $pod;
-        $man =~ s!.pod!.1!;
-        $man =~ s!btparse/doc!blib/bindoc!;   ## FIXME - path
+        $man =~ s!.pod!.3!;
+        $man =~ s!btparse/doc!blib/libdoc!;
         next if $self->up_to_date($pod, $man);
         ## FIXME
         `pod2man --section=1 --center="btparse" --release="btparse, version 
$version" $pod $man`;

Reply via email to