diff --git a/.gitignore b/.gitignore index 6412b60..169f235 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /ExtUtils-MakeMaker-7.06.tar.gz /ExtUtils-MakeMaker-7.08.tar.gz /ExtUtils-MakeMaker-7.10.tar.gz +/ExtUtils-MakeMaker-7.12.tar.gz diff --git a/ExtUtils-MakeMaker-7.08-Link-to-libperl-explicitly-on-Linux.patch b/ExtUtils-MakeMaker-7.08-Link-to-libperl-explicitly-on-Linux.patch deleted file mode 100644 index a6f5b80..0000000 --- a/ExtUtils-MakeMaker-7.08-Link-to-libperl-explicitly-on-Linux.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 37785fd42cd049a2465f01adf0db39545157e0f3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Tue, 2 Jul 2013 10:28:15 +0200 -Subject: [PATCH] Link to libperl explicitly on Linux -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - - - - -Signed-off-by: Petr Písař ---- - lib/ExtUtils/MM_Unix.pm | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm -index 94293c7..b31f36f 100644 ---- a/lib/ExtUtils/MM_Unix.pm -+++ b/lib/ExtUtils/MM_Unix.pm -@@ -31,6 +31,7 @@ BEGIN { - $Is{IRIX} = $^O eq 'irix'; - $Is{NetBSD} = $^O eq 'netbsd'; - $Is{Interix} = $^O eq 'interix'; -+ $Is{Linux} = $^O eq 'linux'; - $Is{SunOS4} = $^O eq 'sunos'; - $Is{Solaris} = $^O eq 'solaris'; - $Is{SunOS} = $Is{SunOS4} || $Is{Solaris}; -@@ -955,7 +956,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPO - - my $libs = '$(LDLOADLIBS)'; - -- if (($Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') { -+ if (($Is{Linux} || $Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') { - # Use nothing on static perl platforms, and to the flags needed - # to link against the shared libperl library on shared perl - # platforms. We peek at lddlflags to see if we need -Wl,-R -@@ -968,6 +969,11 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPO - # The Android linker will not recognize symbols from - # libperl unless the module explicitly depends on it. - $libs .= ' "-L$(PERL_INC)" -lperl'; -+ } else { -+ if ($ENV{PERL_CORE}) { -+ $libs .= ' -L$(PERL_INC)'; -+ } -+ $libs .= ' -lperl'; - } - } - --- -2.4.3 - diff --git a/ExtUtils-MakeMaker-7.08-USE_MM_LD_RUN_PATH.patch b/ExtUtils-MakeMaker-7.08-USE_MM_LD_RUN_PATH.patch deleted file mode 100644 index 098665f..0000000 --- a/ExtUtils-MakeMaker-7.08-USE_MM_LD_RUN_PATH.patch +++ /dev/null @@ -1,134 +0,0 @@ -From 17e693f3dbd9deb458882e30ff7bfaebce54d90b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Thu, 12 Jan 2012 17:05:19 +0100 -Subject: [PATCH] Do not set RPATH by default -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Former behavior can be forced by setting USE_MM_LD_RUN_PATH -environment variable to 1. - -This is copy from `perl' package. -See . - -Signed-off-by: Petr Písař ---- - lib/ExtUtils/Liblist.pm | 5 +++++ - lib/ExtUtils/MM_Unix.pm | 2 +- - lib/ExtUtils/MakeMaker.pm | 56 ++++++++++++++++++++++++++++++++++++++++++++++- - 3 files changed, 61 insertions(+), 2 deletions(-) - -diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm -index 7522150..f5b4ede 100644 ---- a/lib/ExtUtils/Liblist.pm -+++ b/lib/ExtUtils/Liblist.pm -@@ -88,6 +88,11 @@ libraries. LD_RUN_PATH is a colon separated list of the directories - in LDLOADLIBS. It is passed as an environment variable to the process - that links the shared library. - -+Fedora extension: This generation of LD_RUN_PATH is disabled by default. -+To use the generated LD_RUN_PATH for all links, set the USE_MM_LD_RUN_PATH -+MakeMaker object attribute / argument, (or set the $USE_MM_LD_RUN_PATH -+environment variable). -+ - =head2 BSLOADLIBS - - List of those libraries that are needed but can be linked in -diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm -index 3f2cd9d..94293c7 100644 ---- a/lib/ExtUtils/MM_Unix.pm -+++ b/lib/ExtUtils/MM_Unix.pm -@@ -972,7 +972,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPO - } - - my $ld_run_path_shell = ""; -- if ($self->{LD_RUN_PATH} ne "") { -+ if (($self->{LD_RUN_PATH} ne "") && ($self->{USE_MM_LD_RUN_PATH})) { - $ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" '; - } - -diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm -index 226f405..f96aaa0 100644 ---- a/lib/ExtUtils/MakeMaker.pm -+++ b/lib/ExtUtils/MakeMaker.pm -@@ -301,7 +301,7 @@ sub full_setup { - PERM_DIR PERM_RW PERM_RWX MAGICXS - PL_FILES PM PM_FILTER PMLIBDIRS PMLIBPARENTDIRS POLLUTE - PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ -- SIGN SKIP TEST_REQUIRES TYPEMAPS UNINST VERSION VERSION_FROM XS XSOPT XSPROTOARG -+ SIGN SKIP TEST_REQUIRES TYPEMAPS UNINST USE_MM_LD_RUN_PATH VERSION VERSION_FROM XS XSOPT XSPROTOARG - XS_VERSION clean depend dist dynamic_lib linkext macro realclean - tool_autosplit - -@@ -438,6 +438,26 @@ sub new { - $self->_PRINT_PREREQ; - } - -+ # USE_MM_LD_RUN_PATH - another RedHatism to disable automatic RPATH generation -+ if ( ( ! $self->{USE_MM_LD_RUN_PATH} ) -+ &&( ("@ARGV" =~ /\bUSE_MM_LD_RUN_PATH(=([01]))?\b/) -+ ||( exists( $ENV{USE_MM_LD_RUN_PATH} ) -+ &&( $ENV{USE_MM_LD_RUN_PATH} =~ /([01])?$/ ) -+ ) -+ ) -+ ) -+ { -+ my $v = $1; -+ if( $v ) -+ { -+ $v = ($v=~/=([01])$/)[0]; -+ }else -+ { -+ $v = 1; -+ }; -+ $self->{USE_MM_LD_RUN_PATH}=$v; -+ }; -+ - print "MakeMaker (v$VERSION)\n" if $Verbose; - if (-f "MANIFEST" && ! -f "Makefile" && ! $UNDER_CORE){ - check_manifest(); -@@ -2711,6 +2731,40 @@ precedence. A typemap in the current directory has highest - precedence, even if it isn't listed in TYPEMAPS. The default system - typemap has lowest precedence. - -+=item USE_MM_LD_RUN_PATH -+ -+boolean -+The Fedora perl MakeMaker distribution differs from the standard -+upstream release in that it disables use of the MakeMaker generated -+LD_RUN_PATH by default, UNLESS this attribute is specified , or the -+USE_MM_LD_RUN_PATH environment variable is set during the MakeMaker run. -+ -+The upstream MakeMaker will set the ld(1) environment variable LD_RUN_PATH -+to the concatenation of every -L ld(1) option directory in which a -l ld(1) -+option library is found, which is used as the ld(1) -rpath option if none -+is specified. This means that, if your application builds shared libraries -+and your MakeMaker application links to them, that the absolute paths of the -+libraries in the build tree will be inserted into the RPATH header of all -+MakeMaker generated binaries, and that such binaries will be unable to link -+to these libraries if they do not still reside in the build tree directories -+(unlikely) or in the system library directories (/lib or /usr/lib), regardless -+of any LD_LIBRARY_PATH setting. So if you specified -L../mylib -lmylib , and -+ your 'libmylib.so' gets installed into /some_directory_other_than_usr_lib, -+ your MakeMaker application will be unable to link to it, even if LD_LIBRARY_PATH -+is set to include /some_directory_other_than_usr_lib, because RPATH overrides -+LD_LIBRARY_PATH. -+ -+So for Fedora MakeMaker builds LD_RUN_PATH is NOT generated by default for -+every link. You can still use explicit -rpath ld options or the LD_RUN_PATH -+environment variable during the build to generate an RPATH for the binaries. -+ -+You can set the USE_MM_LD_RUN_PATH attribute to 1 on the MakeMaker command -+line or in the WriteMakefile arguments to enable generation of LD_RUN_PATH -+for every link command. -+ -+USE_MM_LD_RUN_PATH will default to 1 (LD_RUN_PATH will be used) IF the -+$USE_MM_LD_RUN_PATH environment variable is set during a MakeMaker run. -+ - =item VENDORPREFIX - - Like PERLPREFIX, but only for the vendor install locations. --- -2.4.3 - diff --git a/ExtUtils-MakeMaker-7.12-Link-to-libperl-explicitly-on-Linux.patch b/ExtUtils-MakeMaker-7.12-Link-to-libperl-explicitly-on-Linux.patch new file mode 100644 index 0000000..0a179fa --- /dev/null +++ b/ExtUtils-MakeMaker-7.12-Link-to-libperl-explicitly-on-Linux.patch @@ -0,0 +1,52 @@ +From c2fc4b379565552ba6c82553ceceb7d4cd754cc5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 2 Jul 2013 10:28:15 +0200 +Subject: [PATCH] Link to libperl explicitly on Linux +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + +Signed-off-by: Petr Písař +--- + lib/ExtUtils/MM_Unix.pm | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm +index 25a1778..fcd130a 100644 +--- a/lib/ExtUtils/MM_Unix.pm ++++ b/lib/ExtUtils/MM_Unix.pm +@@ -30,6 +30,7 @@ BEGIN { + $Is{IRIX} = $^O eq 'irix'; + $Is{NetBSD} = $^O eq 'netbsd'; + $Is{Interix} = $^O eq 'interix'; ++ $Is{Linux} = $^O eq 'linux'; + $Is{SunOS4} = $^O eq 'sunos'; + $Is{Solaris} = $^O eq 'solaris'; + $Is{SunOS} = $Is{SunOS4} || $Is{Solaris}; +@@ -1022,7 +1023,7 @@ sub xs_make_dynamic_lib { + push(@m," \$(RM_F) \$\@\n"); + + my $libs = '$(LDLOADLIBS)'; +- if (($Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') { ++ if (($Is{Linux} || $Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') { + # Use nothing on static perl platforms, and to the flags needed + # to link against the shared libperl library on shared perl + # platforms. We peek at lddlflags to see if we need -Wl,-R +@@ -1035,6 +1036,11 @@ sub xs_make_dynamic_lib { + # The Android linker will not recognize symbols from + # libperl unless the module explicitly depends on it. + $libs .= ' "-L$(PERL_INC)" -lperl'; ++ } else { ++ if ($ENV{PERL_CORE}) { ++ $libs .= ' -L$(PERL_INC)'; ++ } ++ $libs .= ' -lperl'; + } + } + +-- +2.5.5 + diff --git a/ExtUtils-MakeMaker-7.12-USE_MM_LD_RUN_PATH.patch b/ExtUtils-MakeMaker-7.12-USE_MM_LD_RUN_PATH.patch new file mode 100644 index 0000000..f4eaaa4 --- /dev/null +++ b/ExtUtils-MakeMaker-7.12-USE_MM_LD_RUN_PATH.patch @@ -0,0 +1,134 @@ +From 23c9f1c141e5c3026f53108eb1e740da1d6a7d0a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 12 Jan 2012 17:05:19 +0100 +Subject: [PATCH] Do not set RPATH by default +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Former behavior can be forced by setting USE_MM_LD_RUN_PATH +environment variable to 1. + +This is copy from `perl' package. +See . + +Signed-off-by: Petr Písař +--- + lib/ExtUtils/Liblist.pm | 5 +++++ + lib/ExtUtils/MM_Unix.pm | 2 +- + lib/ExtUtils/MakeMaker.pm | 56 ++++++++++++++++++++++++++++++++++++++++++++++- + 3 files changed, 61 insertions(+), 2 deletions(-) + +diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm +index 4144bae..5e9c287 100644 +--- a/lib/ExtUtils/Liblist.pm ++++ b/lib/ExtUtils/Liblist.pm +@@ -89,6 +89,11 @@ libraries. LD_RUN_PATH is a colon separated list of the directories + in LDLOADLIBS. It is passed as an environment variable to the process + that links the shared library. + ++Fedora extension: This generation of LD_RUN_PATH is disabled by default. ++To use the generated LD_RUN_PATH for all links, set the USE_MM_LD_RUN_PATH ++MakeMaker object attribute / argument, (or set the $USE_MM_LD_RUN_PATH ++environment variable). ++ + =head2 BSLOADLIBS + + List of those libraries that are needed but can be linked in +diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm +index 4fa03ed..25a1778 100644 +--- a/lib/ExtUtils/MM_Unix.pm ++++ b/lib/ExtUtils/MM_Unix.pm +@@ -1039,7 +1039,7 @@ sub xs_make_dynamic_lib { + } + + my $ld_run_path_shell = ""; +- if ($self->{LD_RUN_PATH} ne "") { ++ if (($self->{LD_RUN_PATH} ne "") && ($self->{USE_MM_LD_RUN_PATH})) { + $ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" '; + } + +diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm +index d9d0942..446b39d 100644 +--- a/lib/ExtUtils/MakeMaker.pm ++++ b/lib/ExtUtils/MakeMaker.pm +@@ -313,7 +313,7 @@ sub full_setup { + PERM_DIR PERM_RW PERM_RWX MAGICXS + PL_FILES PM PM_FILTER PMLIBDIRS PMLIBPARENTDIRS POLLUTE + PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ +- SIGN SKIP TEST_REQUIRES TYPEMAPS UNINST VERSION VERSION_FROM XS ++ SIGN SKIP TEST_REQUIRES TYPEMAPS UNINST USE_MM_LD_RUN_PATH VERSION VERSION_FROM XS + XSBUILD XSMULTI XSOPT XSPROTOARG XS_VERSION + clean depend dist dynamic_lib linkext macro realclean tool_autosplit + +@@ -490,6 +490,26 @@ sub new { + $self->_PRINT_PREREQ; + } + ++ # USE_MM_LD_RUN_PATH - another RedHatism to disable automatic RPATH generation ++ if ( ( ! $self->{USE_MM_LD_RUN_PATH} ) ++ &&( ("@ARGV" =~ /\bUSE_MM_LD_RUN_PATH(=([01]))?\b/) ++ ||( exists( $ENV{USE_MM_LD_RUN_PATH} ) ++ &&( $ENV{USE_MM_LD_RUN_PATH} =~ /([01])?$/ ) ++ ) ++ ) ++ ) ++ { ++ my $v = $1; ++ if( $v ) ++ { ++ $v = ($v=~/=([01])$/)[0]; ++ }else ++ { ++ $v = 1; ++ }; ++ $self->{USE_MM_LD_RUN_PATH}=$v; ++ }; ++ + print "MakeMaker (v$VERSION)\n" if $Verbose; + if (-f "MANIFEST" && ! -f "Makefile" && ! $UNDER_CORE){ + check_manifest(); +@@ -2771,6 +2791,40 @@ precedence. A typemap in the current directory has highest + precedence, even if it isn't listed in TYPEMAPS. The default system + typemap has lowest precedence. + ++=item USE_MM_LD_RUN_PATH ++ ++boolean ++The Fedora perl MakeMaker distribution differs from the standard ++upstream release in that it disables use of the MakeMaker generated ++LD_RUN_PATH by default, UNLESS this attribute is specified , or the ++USE_MM_LD_RUN_PATH environment variable is set during the MakeMaker run. ++ ++The upstream MakeMaker will set the ld(1) environment variable LD_RUN_PATH ++to the concatenation of every -L ld(1) option directory in which a -l ld(1) ++option library is found, which is used as the ld(1) -rpath option if none ++is specified. This means that, if your application builds shared libraries ++and your MakeMaker application links to them, that the absolute paths of the ++libraries in the build tree will be inserted into the RPATH header of all ++MakeMaker generated binaries, and that such binaries will be unable to link ++to these libraries if they do not still reside in the build tree directories ++(unlikely) or in the system library directories (/lib or /usr/lib), regardless ++of any LD_LIBRARY_PATH setting. So if you specified -L../mylib -lmylib , and ++ your 'libmylib.so' gets installed into /some_directory_other_than_usr_lib, ++ your MakeMaker application will be unable to link to it, even if LD_LIBRARY_PATH ++is set to include /some_directory_other_than_usr_lib, because RPATH overrides ++LD_LIBRARY_PATH. ++ ++So for Fedora MakeMaker builds LD_RUN_PATH is NOT generated by default for ++every link. You can still use explicit -rpath ld options or the LD_RUN_PATH ++environment variable during the build to generate an RPATH for the binaries. ++ ++You can set the USE_MM_LD_RUN_PATH attribute to 1 on the MakeMaker command ++line or in the WriteMakefile arguments to enable generation of LD_RUN_PATH ++for every link command. ++ ++USE_MM_LD_RUN_PATH will default to 1 (LD_RUN_PATH will be used) IF the ++$USE_MM_LD_RUN_PATH environment variable is set during a MakeMaker run. ++ + =item VENDORPREFIX + + Like PERLPREFIX, but only for the vendor install locations. +-- +2.5.5 + diff --git a/perl-ExtUtils-MakeMaker.spec b/perl-ExtUtils-MakeMaker.spec index 3d3bc69..a582820 100644 --- a/perl-ExtUtils-MakeMaker.spec +++ b/perl-ExtUtils-MakeMaker.spec @@ -1,19 +1,19 @@ %global cpan_name ExtUtils-MakeMaker -%global cpan_version 7.10 +%global cpan_version 7.12 Name: perl-%{cpan_name} Version: %(echo '%{cpan_version}' | tr _ .) -Release: 5%{?dist} +Release: 1%{?dist} Summary: Create a module Makefile License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/%{cpan_name}/ Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{cpan_version}.tar.gz # Do not set RPATH to perl shared-library modules by default. Bug #773622. -# This is copy from `perl' package. This is distributor extension. -Patch0: %{cpan_name}-7.08-USE_MM_LD_RUN_PATH.patch +# This is copy from `perl' package. This is a distributor extension. +Patch0: %{cpan_name}-7.12-USE_MM_LD_RUN_PATH.patch # Link to libperl.so explicitly. Bug #960048. -Patch1: %{cpan_name}-7.08-Link-to-libperl-explicitly-on-Linux.patch +Patch1: %{cpan_name}-7.12-Link-to-libperl-explicitly-on-Linux.patch # Unbundle version modules Patch2: %{cpan_name}-7.04-Unbundle-version.patch # Unbundle Encode::Locale module @@ -25,9 +25,12 @@ BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl +BuildRequires: perl-generators # Makefile.Pl uses ExtUtils::MakeMaker from ./lib +# B needed only for CPAN::Meta::Requirements BuildRequires: perl(Carp) BuildRequires: perl(Config) +# CPAN::Meta::Requirements has a fallback BuildRequires: perl(Cwd) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) @@ -46,13 +49,12 @@ BuildRequires: sed # Tests: BuildRequires: perl(AutoSplit) BuildRequires: perl(base) -BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta) >= 2.143240 BuildRequires: perl(Data::Dumper) -BuildRequires: perl(DirHandle) BuildRequires: perl(DynaLoader) BuildRequires: perl(ExtUtils::Install) >= 1.52 # ExtUtils::Installed not used at tests -BuildRequires: perl(ExtUtils::Manifest) >= 1.65 +BuildRequires: perl(ExtUtils::Manifest) >= 1.70 # ExtUtils::Packlist not used at tests # ExtUtils::XSSymSet is not needed (VMS only) BuildRequires: perl(File::Find) @@ -62,10 +64,9 @@ BuildRequires: perl(Getopt::Long) # IO::Handle not used BuildRequires: perl(less) BuildRequires: perl(overload) -BuildRequires: perl(Parse::CPAN::Meta) >= 1.4400 +BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414 BuildRequires: perl(Pod::Man) BuildRequires: perl(POSIX) -BuildRequires: perl(Scalar::Util) >= 1.13 BuildRequires: perl(subs) BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) @@ -80,26 +81,29 @@ BuildRequires: perl(PerlIO) # Keep YAML::Tiny optional Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B) -Recommends: perl(CPAN::Meta) >= 2.112150 +Recommends: perl(CPAN::Meta) >= 2.143240 +Suggests: perl(CPAN::Meta::Converter) >= 2.141170 +# CPAN::Meta::Requirements to support version ranges +Recommends: perl(CPAN::Meta::Requirements) >= 2.130 Requires: perl(Data::Dumper) Requires: perl(DynaLoader) # Encode is needed for producing POD with =encoding statement correctly Requires: perl(Encode) Recommends: perl(Encode::Locale) Requires: perl(ExtUtils::Command) >= 1.19 -Requires: perl(ExtUtils::Install) >= 1.52 -Requires: perl(ExtUtils::Manifest) >= 1.65 +Requires: perl(ExtUtils::Install) >= 1.54 +Requires: perl(ExtUtils::Manifest) >= 1.70 # ExtUtils::XSSymSet is not needed (VMS only) Requires: perl(File::Find) Requires: perl(File::Spec) >= 0.8 Requires: perl(Getopt::Long) +Suggests: perl(JSON::PP) # Optional Pod::Man is needed for generating manual pages from POD Requires: perl(Pod::Man) Requires: perl(POSIX) Requires: perl(Test::Harness) Recommends: perl(Time::HiRes) # Text::ParseWords is not needed (Win32 only) -Requires: perl(version) # VMS::Filespec is not needed (VMS only) # Win32 is not needed (Win32 only) # If an XS module is compiled, xsubpp(1) is needed @@ -174,7 +178,7 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -204,6 +208,9 @@ make test %{_mandir}/man3/ExtUtils::MM::Utils.* %changelog +* Wed Apr 20 2016 Petr Pisar - 7.12-1 +- 7.12 bump + * Tue Apr 19 2016 Petr Pisar - 7.10-5 - Own ExtUtils/MM directory by perl-ExtUtils-MM-Utils only - Require perl-devel by perl-ExtUtils-MakeMaker diff --git a/sources b/sources index 941e64d..97aaf74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2639a21adee5e0a903730c12dcba08ec ExtUtils-MakeMaker-7.10.tar.gz +c6c586a957d7cdb66f5c55247c529bf9 ExtUtils-MakeMaker-7.12.tar.gz