Hello community,

here is the log from the commit of package perl-CDDB_get for openSUSE:Factory 
checked in at 2015-04-22 01:17:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CDDB_get (Old)
 and      /work/SRC/openSUSE:Factory/.perl-CDDB_get.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-CDDB_get"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CDDB_get/perl-CDDB_get.changes      
2014-10-15 16:20:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-CDDB_get.new/perl-CDDB_get.changes 
2015-04-22 01:17:55.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Apr 14 12:39:19 UTC 2015 - [email protected]
+
+- updated to 2.28
+   see /usr/share/doc/packages/perl-CDDB_get/Changes
+
+  
+  2.28  06.03.2012
+        make tests work with perl 5.15.x
+
+-------------------------------------------------------------------

Old:
----
  CDDB_get-2.27.tar.gz

New:
----
  CDDB_get-2.28.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-CDDB_get.spec ++++++
--- /var/tmp/diff_new_pack.eVttJX/_old  2015-04-22 01:17:56.000000000 +0200
+++ /var/tmp/diff_new_pack.eVttJX/_new  2015-04-22 01:17:56.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-CDDB_get
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,15 +17,19 @@
 
 
 Name:           perl-CDDB_get
-Version:        2.27
+Version:        2.28
 Release:        0
-Url:            http://armin.emx.at/cddb/
+#Upstream:  This library is released under the same conditions as Perl, that 
is, either of the following: a) the GNU General Public License Version 2 as 
published by the Free Software Foundation, b) the Artistic License. This 
program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic 
License for more details. You should have received a copy of the Artistic 
License with this Kit, in the file named "Artistic". If not, I'll be glad to 
provide one. You should also have received a copy of the GNU General Public 
License along with this program, in the file names "Copying"; if not, write to 
the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
02111-1307, USA. If you use this library in a commercial enterprise, you are 
invited, but not required, to pay what you feel is a reasonable fee to the 
author, who can be contacted at [email protected]
+%define cpan_name CDDB_get
 Summary:        Read the CDDB entry for an audio CD in your drive
-License:        Artistic-1.0
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-Source:         http://armin.emx.at/cddb/CDDB_get-%version.tar.gz
+Url:            http://search.cpan.org/dist/CDDB_get/
+Source0:        
http://www.cpan.org/authors/id/F/FO/FONKIE/%{cpan_name}-%{version}.tar.gz
 Source1:        cddb.pl.1.gz
-Patch:          %name-2.23-tmpfile.diff
+Source2:        cpanspec.yml
+Patch0:         %name-2.23-tmpfile.diff
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -33,42 +37,31 @@
 
 %description
 This module/script gets the CDDB info for an audio cd. You need LINUX,
-SUNOS or *BSD, a cdrom drive and an active internet connection in order
-to do that.
-
-
-
-Authors:
---------
-    Armin Obersteiner <[email protected]>
+SUNOS or *BSD, a cdrom drive and an active internet connection in order to
+do that.
 
 %prep
-%setup -q -n CDDB_get-%version
-%patch -p1
+%setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 
 %build
-perl Makefile.PL
-make %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-make test
+%{__make} test
 
 %install
 %perl_make_install
 %perl_process_packlist
+%perl_gen_filelist
+
+# MANUAL BEGIN
 install -d -m755  $RPM_BUILD_ROOT/%{_mandir}/man1
 install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
-
-%files
-%defattr(-,root,root)
-%doc README MANIFEST Artistic Changes Copying
-%doc %_mandir/man?/*
-%_bindir/cddb.pl
-%perl_vendorlib/CDDB_get.pm
-%perl_vendorlib/CDDB_cache.pm
-%perl_vendorlib/cddb.pl
-%perl_vendorlib/auto/CDDB_get
-%perl_vendorlib/auto/CDDB_cache
-%perl_vendorarch/auto/CDDB_get
+# MANUAL END
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Artistic Changes Copying DATABASE README
 
 %changelog

++++++ CDDB_get-2.27.tar.gz -> CDDB_get-2.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/CDDB_get.pm 
new/CDDB_get-2.28/CDDB_get.pm
--- old/CDDB_get-2.27/CDDB_get.pm       2006-01-01 20:52:54.000000000 +0100
+++ new/CDDB_get-2.28/CDDB_get.pm       2012-03-06 19:28:24.000000000 +0100
@@ -35,13 +35,14 @@
   get_cddb
   get_discids
 );
-$VERSION = '2.27';
+$VERSION = '2.28';
 
 use Fcntl;
 use IO::Socket;
 use Data::Dumper qw(Dumper);
+use MIME::Base64 qw(encode_base64);
 
-#$debug=1;
+$debug=1;
 
 # setup for linux, solaris x86, solaris spark
 # you freebsd guys give me input 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/Changes new/CDDB_get-2.28/Changes
--- old/CDDB_get-2.27/Changes   2006-01-01 20:52:41.000000000 +0100
+++ new/CDDB_get-2.28/Changes   2012-03-06 19:18:46.000000000 +0100
@@ -93,3 +93,5 @@
       fixes an ioctl perl problem on current redhat/fedora (thanks to Gregory 
K. Ruiz-Ade
       and the redhat/fedora guys)
 
+2.28  06.03.2012
+      make tests work with perl 5.15.x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/MANIFEST new/CDDB_get-2.28/MANIFEST
--- old/CDDB_get-2.27/MANIFEST  2006-01-01 20:53:30.000000000 +0100
+++ new/CDDB_get-2.28/MANIFEST  2012-03-06 19:19:45.000000000 +0100
@@ -7,7 +7,7 @@
 MANIFEST
 README
 DATABASE
-perl-CDDB_get-2.27.spec
+perl-CDDB_get-2.28.spec
 Makefile.PL
 t/use.t
 META.yml                                Module meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/META.yml new/CDDB_get-2.28/META.yml
--- old/CDDB_get-2.27/META.yml  2006-01-01 20:55:49.000000000 +0100
+++ new/CDDB_get-2.28/META.yml  2012-03-06 19:28:43.000000000 +0100
@@ -1,10 +1,21 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         CDDB_get
-version:      2.27
-version_from: CDDB_get.pm
-installdirs:  site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30
+--- #YAML:1.0
+name:               CDDB_get
+version:            2.28
+abstract:           This module/script gets the CDDB info for an audio cd.
+author:
+    - Armin Obersteiner <armin at xos dot net>
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:  {}
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.56
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/perl-CDDB_get-2.27.spec 
new/CDDB_get-2.28/perl-CDDB_get-2.27.spec
--- old/CDDB_get-2.27/perl-CDDB_get-2.27.spec   2006-01-01 20:53:19.000000000 
+0100
+++ new/CDDB_get-2.28/perl-CDDB_get-2.27.spec   1970-01-01 01:00:00.000000000 
+0100
@@ -1,50 +0,0 @@
-%define module CDDB_get
-%define version 2.27
-%define release 1
-Summary:       %{module} module for perl
-Name:          perl-%{module}
-Version:       %{version}
-Release:       %{release}
-License:       distributable
-Group:         Applications/Multimedia
-Source0:       %{module}-%{version}.tar.gz
-Url:           http://armin.emx.at/cddb/
-BuildRoot:     %{_tmppath}/%{name}-buildroot/
-Requires:      perl >= 5.6.1
-BuildArch:     noarch
-
-%description
-%{module} module for perl
-
-%prep
-%setup -q -n %{module}-%{version}
-
-%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
-make
-make test
-
-%clean 
-rm -rf $RPM_BUILD_ROOT
-
-%install
-rm -rf $RPM_BUILD_ROOT
-eval `perl '-V:installarchlib'`
-mkdir -p $RPM_BUILD_ROOT/$installarchlib
-make PREFIX=$RPM_BUILD_ROOT%{_prefix} install
-
-# call spec-helper before creating the file list
-s=/usr/share/spec-helper/spec-helper ; [ -x $s ] && $s
-
-%files 
-%defattr(-,root,root)
-%{_mandir}/*/*
-%{_prefix}/lib/perl5/site_perl/*/auto/CDDB_get/*
-%{_prefix}/lib/perl5/site_perl/*/cddb.pl
-%{_prefix}/lib/perl5/site_perl/*/CDDB_get.pm
-%doc Changes Copying README DATABASE
-
-%changelog
-* Mon Mar 11 04:14:26 MET 2002 Armin Obersteiner <armin(at)xos(dot)net> 2.01-1
-* Sun Nov 25 2001 Peter Bieringer <[email protected]> 1.66-1
-- initial (creditds to spec file creators of perl-DateManip)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/perl-CDDB_get-2.28.spec 
new/CDDB_get-2.28/perl-CDDB_get-2.28.spec
--- old/CDDB_get-2.27/perl-CDDB_get-2.28.spec   1970-01-01 01:00:00.000000000 
+0100
+++ new/CDDB_get-2.28/perl-CDDB_get-2.28.spec   2012-03-06 19:17:46.000000000 
+0100
@@ -0,0 +1,51 @@
+%define module CDDB_get
+%define version 2.28
+%define release 1
+Summary:       %{module} module for perl
+Name:          perl-%{module}
+Version:       %{version}
+Release:       %{release}
+License:       distributable
+Group:         Applications/Multimedia
+Source0:       %{module}-%{version}.tar.gz
+Url:           http://armin.emx.at/cddb/
+BuildRoot:     %{_tmppath}/%{name}-buildroot/
+Requires:      perl >= 5.6.1
+BuildArch:     noarch
+
+%description
+%{module} module for perl
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+make
+make test
+
+%clean 
+rm -rf $RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+eval `perl '-V:installarchlib'`
+mkdir -p $RPM_BUILD_ROOT/$installarchlib
+make PREFIX=$RPM_BUILD_ROOT%{_prefix} install
+
+# call spec-helper before creating the file list
+s=/usr/share/spec-helper/spec-helper ; [ -x $s ] && $s
+
+%files 
+%defattr(-,root,root)
+%{_mandir}/*/*
+%{_prefix}/lib/perl5/site_perl/*/auto/CDDB_get/*
+%{_prefix}/lib/perl5/site_perl/*/cddb.pl
+%{_prefix}/lib/perl5/site_perl/*/CDDB_get.pm
+%doc Changes Copying README DATABASE
+
+%changelog
+* Tue Mar  6 19:16:36 CET 2012 Armin Obersteiner <armin(at)xos(dot)net> 2.28
+* Mon Mar 11 04:14:26 MET 2002 Armin Obersteiner <armin(at)xos(dot)net> 2.01-1
+* Sun Nov 25 2001 Peter Bieringer <[email protected]> 1.66-1
+- initial (creditds to spec file creators of perl-DateManip)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CDDB_get-2.27/t/use.t new/CDDB_get-2.28/t/use.t
--- old/CDDB_get-2.27/t/use.t   2003-05-05 11:18:55.000000000 +0200
+++ new/CDDB_get-2.28/t/use.t   2012-03-06 19:14:45.000000000 +0100
@@ -1,8 +1,22 @@
 #!/usr/bin/env perl -w
-use strict;
-use Test;
-BEGIN { plan tests => 1 }
 
-use CDDB_get; ok(1);
-exit;
-__END__
+BEGIN {
+    if( $ENV{PERL_CORE} ) {
+        chdir 't';
+        @INC = ('../lib', 'lib');
+    }
+    else {
+        unshift @INC, 't/lib';
+    }
+}
+
+use Test::More;
+
+my $result;
+BEGIN {
+    $result = use_ok("CDDB_get");
+}
+
+ok( $result, "use_ok() ran" );
+done_testing(2);
+


++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
sources:
 - cddb.pl.1.gz
patches:
  "%name-2.23-tmpfile.diff": -p1
#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_install: |-
 install -d -m755  $RPM_BUILD_ROOT/%{_mandir}/man1
 install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
# sed on %{name}.files
license: Artistic-1.0 or GPL-1.0+
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

Reply via email to