Hello community, here is the log from the commit of package perl-Object-Signature for openSUSE:Factory checked in at 2017-10-03 23:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Object-Signature (Old) and /work/SRC/openSUSE:Factory/.perl-Object-Signature.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Object-Signature" Tue Oct 3 23:19:40 2017 rev:9 rq:530783 version:1.07 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Object-Signature/perl-Object-Signature.changes 2011-09-23 12:38:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Object-Signature.new/perl-Object-Signature.changes 2017-10-03 23:19:41.838049319 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:19:18 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Object-Signature.spec ++++++ --- /var/tmp/diff_new_pack.MOHWZs/_old 2017-10-03 23:19:42.653934498 +0200 +++ /var/tmp/diff_new_pack.MOHWZs/_new 2017-10-03 23:19:42.657933934 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Object-Signature # -# 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 @@ -16,37 +16,36 @@ # - Name: perl-Object-Signature Version: 1.07 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Release: 0 %define cpan_name Object-Signature Summary: Generate cryptographic signatures for objects -Url: http://search.cpan.org/dist/Object-Signature/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Object-Signature-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Object-Signature/ +Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Digest::MD5) >= 2.00 -Requires: perl(Digest::MD5) >= 2.00 %{perl_requires} %description -the Object::Signature manpage is an abstract base class that you can -inherit from in order to allow your objects to generate unique -cryptographic signatures. - -The method used to generate the signature is based on the Storable manpage -and the Digest::MD5 manpage. The object is fed to 'Storable::nfreeze' to -get a string, which is then passed to the Digest::MD5::md5_hex manpage to -get a unique 32 character hexidecimal signature. +Object::Signature is an abstract base class that you can inherit from in +order to allow your objects to generate unique cryptographic signatures. + +The method used to generate the signature is based on Storable and +Digest::MD5. The object is fed to 'Storable::nfreeze' to get a string, +which is then passed to Digest::MD5::md5_hex to get a unique 32 character +hexidecimal signature. %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 @@ -60,11 +59,9 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes LICENSE README +%defattr(-,root,root,755) +%doc Changes README +%license LICENSE %changelog ++++++ cpanspec.yml ++++++ --- post_prep: sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL