Hello community, here is the log from the commit of package perl-MooseX-Iterator for openSUSE:Factory checked in at 2017-10-03 23:19:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MooseX-Iterator (Old) and /work/SRC/openSUSE:Factory/.perl-MooseX-Iterator.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-Iterator" Tue Oct 3 23:19:29 2017 rev:6 rq:530777 version:0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MooseX-Iterator/perl-MooseX-Iterator.changes 2012-01-04 07:27:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MooseX-Iterator.new/perl-MooseX-Iterator.changes 2017-10-03 23:19:31.431513853 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:17:21 UTC 2017 - co...@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MooseX-Iterator.spec ++++++ --- /var/tmp/diff_new_pack.LU8BOi/_old 2017-10-03 23:19:31.975437306 +0200 +++ /var/tmp/diff_new_pack.LU8BOi/_new 2017-10-03 23:19:31.979436743 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-MooseX-Iterator # -# Copyright (c) 2011 SUSE LINUX Products 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 @@ -15,16 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-MooseX-Iterator Version: 0.11 Release: 0 %define cpan_name MooseX-Iterator Summary: Iterate over collections -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-Iterator/ -#Source: http://www.cpan.org/authors/id/R/RL/RLB/MooseX-Iterator-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/R/RL/RLB/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -39,7 +40,7 @@ * next - The next method provides the next item in the colletion. +The next method provides the next item in the colletion. For arrays it returns the element of the array @@ -47,20 +48,23 @@ * has_next - The has_next method is a boolean method that is true if there is another - item in the colletion after the current item. and falue if there isn't. +The has_next method is a boolean method that is true if there is another +item in the colletion after the current item. and falue if there isn't. * peek - The peek method returns the next item without moving the state of the - iterator forward. It returns undef if it is at the end of the collection. +The peek method returns the next item without moving the state of the +iterator forward. It returns undef if it is at the end of the collection. * reset - Resets the cursor, so you can iterate through the elements again. +Resets the cursor, so you can iterate through the elements again. %prep %setup -q -n %{cpan_name}-%{version} +# MANUAL BEGIN +sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL +# MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -74,10 +78,7 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %changelog ++++++ cpanspec.yml ++++++ --- post_prep: sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL