Hello community,
here is the log from the commit of package perl-FileHandle-Unget for
openSUSE:Factory checked in at 2017-10-03 23:18:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-FileHandle-Unget (Old)
and /work/SRC/openSUSE:Factory/.perl-FileHandle-Unget.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-FileHandle-Unget"
Tue Oct 3 23:18:46 2017 rev:22 rq:530695 version:0.1628
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-FileHandle-Unget/perl-FileHandle-Unget.changes
2015-05-05 00:56:01.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-FileHandle-Unget.new/perl-FileHandle-Unget.changes
2017-10-03 23:18:49.357435049 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 07:26:25 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-FileHandle-Unget.spec ++++++
--- /var/tmp/diff_new_pack.yr7tKv/_old 2017-10-03 23:18:49.893359627 +0200
+++ /var/tmp/diff_new_pack.yr7tKv/_new 2017-10-03 23:18:49.893359627 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-FileHandle-Unget
#
-# 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
@@ -24,7 +24,7 @@
License: GPL-2.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/FileHandle-Unget/
-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
@@ -50,7 +50,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
@@ -66,6 +69,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.yr7tKv/_old 2017-10-03 23:18:49.925355125 +0200
+++ /var/tmp/diff_new_pack.yr7tKv/_new 2017-10-03 23:18:49.925355125 +0200
@@ -1,23 +1,3 @@
---
-#description_paragraphs: 3
-#no_testing: broken upstream
-#sources:
-# - source1
-# - source2
-#patches:
-# foo.patch: -p1
-# 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: SUSE-NonFree
-#skip_noarch: 1
-#custom_build: |-
-#./Build build flags=%{?_smp_mflags} --myflag
-#custom_test: |-
-#startserver && make test
-#ignore_requires: Bizarre::Module
+post_prep:
+ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse
inc::Module::Install;/' Makefile.PL