Hello community,
here is the log from the commit of package perl-Benchmark-Timer for
openSUSE:Factory checked in at 2017-10-03 23:18:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Benchmark-Timer (Old)
and /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Benchmark-Timer"
Tue Oct 3 23:18:31 2017 rev:6 rq:530648 version:0.7107
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Benchmark-Timer/perl-Benchmark-Timer.changes
2015-05-05 00:56:04.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new/perl-Benchmark-Timer.changes
2017-10-03 23:18:32.791766387 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 03:32:56 UTC 2017 - [email protected]
+
+- patch Makefile to fix build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Benchmark-Timer.spec ++++++
--- /var/tmp/diff_new_pack.kvas22/_old 2017-10-03 23:18:33.375684210 +0200
+++ /var/tmp/diff_new_pack.kvas22/_new 2017-10-03 23:18:33.383683085 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Benchmark-Timer
#
-# Copyright (c) 2015 SUSE LINUX 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
@@ -25,7 +25,7 @@
License: GPL-2.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Benchmark-Timer/
-Source0:
http://www.cpan.org/authors/id/D/DC/DCOPPIT/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/D/DC/DCOPPIT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -58,7 +58,11 @@
%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
+sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' delta.pl
+# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -74,6 +78,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc CHANGES LICENSE README TODO
+%doc CHANGES README TODO
+%license LICENSE
%changelog
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.kvas22/_old 2017-10-03 23:18:33.419678019 +0200
+++ /var/tmp/diff_new_pack.kvas22/_new 2017-10-03 23:18:33.419678019 +0200
@@ -9,12 +9,12 @@
# 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: GPL-2.0+
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
+post_prep: |-
+ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse
inc::Module::Install;/' Makefile.PL
+ sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' delta.pl