Hello community, here is the log from the commit of package perl-Data-Random for openSUSE:Factory checked in at 2017-10-03 23:18:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Data-Random (Old) and /work/SRC/openSUSE:Factory/.perl-Data-Random.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Data-Random" Tue Oct 3 23:18:37 2017 rev:2 rq:530686 version:0.12 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Data-Random/perl-Data-Random.changes 2016-11-08 18:27:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Data-Random.new/perl-Data-Random.changes 2017-10-03 23:18:40.130733552 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 07:23:24 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-Random.spec ++++++ --- /var/tmp/diff_new_pack.tKuIUU/_old 2017-10-03 23:18:41.022608035 +0200 +++ /var/tmp/diff_new_pack.tKuIUU/_new 2017-10-03 23:18:41.062602406 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Data-Random # -# 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-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Data-Random/ -Source0: http://www.cpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,7 +37,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 ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.tKuIUU/_old 2017-10-03 23:18:41.246576515 +0200 +++ /var/tmp/diff_new_pack.tKuIUU/_new 2017-10-03 23:18:41.250575952 +0200 @@ -1,20 +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 +post_prep: + sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL