Hello community, here is the log from the commit of package perl-MooseX-Attribute-ENV for openSUSE:Factory checked in at 2017-10-03 23:19:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MooseX-Attribute-ENV (Old) and /work/SRC/openSUSE:Factory/.perl-MooseX-Attribute-ENV.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-MooseX-Attribute-ENV" Tue Oct 3 23:19:20 2017 rev:2 rq:530772 version:0.02 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MooseX-Attribute-ENV/perl-MooseX-Attribute-ENV.changes 2014-12-03 22:48:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MooseX-Attribute-ENV.new/perl-MooseX-Attribute-ENV.changes 2017-10-03 23:19:20.273084206 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:16:41 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MooseX-Attribute-ENV.spec ++++++ --- /var/tmp/diff_new_pack.4QEZ1R/_old 2017-10-03 23:19:20.972985707 +0200 +++ /var/tmp/diff_new_pack.4QEZ1R/_new 2017-10-03 23:19:20.972985707 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-MooseX-Attribute-ENV # -# Copyright (c) 2014 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 @@ -24,7 +24,8 @@ License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-Attribute-ENV/ -Source: http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/J/JJ/JJNAPIORK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -34,10 +35,9 @@ %{perl_requires} %description -This is a the Moose manpage attribute trait that you use when you want the -default value for an attribute to be populated from the %ENV hash. So, for -example if you have set the environment variable USERNAME = 'John' you can -do: +This is a Moose attribute trait that you use when you want the default +value for an attribute to be populated from the %ENV hash. So, for example +if you have set the environment variable USERNAME = 'John' you can do: package MyApp::MyClass; @@ -69,7 +69,10 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +# 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 @@ -85,6 +88,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes MYMETA.json MYMETA.yml README +%doc Changes README %changelog ++++++ cpanspec.yml ++++++ --- post_prep: sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL