Hello community,

here is the log from the commit of package perl-Class-C3-Adopt-NEXT for 
openSUSE:Factory checked in at 2015-06-15 17:48:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-C3-Adopt-NEXT (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Class-C3-Adopt-NEXT.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Class-C3-Adopt-NEXT"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Class-C3-Adopt-NEXT/perl-Class-C3-Adopt-NEXT.changes
        2011-11-22 17:49:30.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Class-C3-Adopt-NEXT.new/perl-Class-C3-Adopt-NEXT.changes
   2015-06-15 17:48:18.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jun  7 08:17:50 UTC 2015 - [email protected]
+
+- updated to 0.14
+   see /usr/share/doc/packages/perl-Class-C3-Adopt-NEXT/Changes
+
+-------------------------------------------------------------------

Old:
----
  Class-C3-Adopt-NEXT-0.13.tar.gz

New:
----
  Class-C3-Adopt-NEXT-0.14.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Class-C3-Adopt-NEXT.spec ++++++
--- /var/tmp/diff_new_pack.SQOl5S/_old  2015-06-15 17:48:19.000000000 +0200
+++ /var/tmp/diff_new_pack.SQOl5S/_new  2015-06-15 17:48:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-C3-Adopt-NEXT
 #
-# Copyright (c) 2011 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
@@ -16,56 +16,60 @@
 #
 
 
-
 Name:           perl-Class-C3-Adopt-NEXT
-Version:        0.13
-Release:        1
-Summary:        Make NEXT suck less
-License:        GPL-1.0+ or Artistic-1.0
+Version:        0.14
+Release:        0
+%define cpan_name Class-C3-Adopt-NEXT
+Summary:        Make Next Suck Less
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Class-C3-Adopt-NEXT/
-Source0:        
http://www.cpan.org/modules/by-module/Class/Class-C3-Adopt-NEXT-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
+Source0:        
http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(List::Util) >= 1.33
 BuildRequires:  perl(MRO::Compat)
-BuildRequires:  perl(Test::Exception) >= 0.27
-Requires:       perl(List::MoreUtils)
+BuildRequires:  perl(Module::Build::Tiny) >= 0.039
+BuildRequires:  perl(Test::Exception) >= 0.270000
+Requires:       perl(List::Util) >= 1.33
 Requires:       perl(MRO::Compat)
+%{perl_requires}
 
 %description
-This module is intended as a drop-in replacement for NEXT, supporting the same 
interface, but using Class::C3 to do the hard work. You can then write new code 
without NEXT, and migrate individual source files to use Class::C3 or method 
modifiers as appropriate, at whatever pace you're comfortable with.
+the NEXT manpage was a good solution a few years ago, but isn't any more.
+It's slow, and the order in which it re-dispatches methods appears random
+at times. It also encourages bad programming practices, as you end up with
+code to re-dispatch methods when all you really wanted to do was run some
+code before or after a method fired.
+
+However, if you have a large application, then weaning yourself off 'NEXT'
+isn't easy.
+
+This module is intended as a drop-in replacement for NEXT, supporting the
+same interface, but using the Class::C3 manpage to do the hard work. You
+can then write new code without 'NEXT', and migrate individual source files
+to use 'Class::C3' or method modifiers as appropriate, at whatever pace
+you're comfortable with.
 
 %prep
-%setup -q -n Class-C3-Adopt-NEXT-%{version}
+%setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{__perl} Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
 
 %check
-make test
+./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%install
+./Build install --destdir=%{buildroot} --create_packlist=0
+%perl_gen_filelist
 
-%files
-%defattr(-,root,root,-)
-%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes CONTRIBUTING LICENSE README
 
 %changelog

++++++ Class-C3-Adopt-NEXT-0.13.tar.gz -> Class-C3-Adopt-NEXT-0.14.tar.gz ++++++
++++ 3707 lines of diff (skipped)

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#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_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

Reply via email to