Hello community, here is the log from the commit of package perl-Class-ReturnValue for openSUSE:Factory checked in at 2017-10-03 23:19:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Class-ReturnValue (Old) and /work/SRC/openSUSE:Factory/.perl-Class-ReturnValue.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Class-ReturnValue" Tue Oct 3 23:19:13 2017 rev:10 rq:530767 version:0.55 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Class-ReturnValue/perl-Class-ReturnValue.changes 2011-11-21 12:37:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Class-ReturnValue.new/perl-Class-ReturnValue.changes 2017-10-03 23:19:14.485898651 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:12:25 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Class-ReturnValue.spec ++++++ --- /var/tmp/diff_new_pack.OwKmi8/_old 2017-10-03 23:19:15.069816475 +0200 +++ /var/tmp/diff_new_pack.OwKmi8/_new 2017-10-03 23:19:15.077815349 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Class-ReturnValue # -# 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,26 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Class-ReturnValue -%define cpan_name Class-ReturnValue -Summary: Return-value object that lets you treat it as as a boolean, array or object Version: 0.55 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Release: 0 +%define cpan_name Class-ReturnValue +Summary: Return-Value Object That Lets You Treat It +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Class-ReturnValue/ -#Source: http://www.cpan.org/modules/by-module/Class/Class-ReturnValue-%{version}.tar.bz2 -Source: %{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/J/JE/JESSE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Devel::StackTrace) Requires: perl(Devel::StackTrace) +%{perl_requires} %description Class::ReturnValue is a "clever" return value object that can allow code @@ -43,6 +41,9 @@ %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 @@ -53,18 +54,11 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes %changelog ++++++ cpanspec.yml ++++++ --- post_prep: sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL