7.02 bump

This commit is contained in:
Petr Písař 2014-11-11 12:58:08 +01:00
parent bd7e2b7c41
commit 8542fd846d
5 changed files with 14 additions and 102 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@
/ExtUtils-MakeMaker-6.96.tar.gz /ExtUtils-MakeMaker-6.96.tar.gz
/ExtUtils-MakeMaker-6.98.tar.gz /ExtUtils-MakeMaker-6.98.tar.gz
/ExtUtils-MakeMaker-7.00.tar.gz /ExtUtils-MakeMaker-7.00.tar.gz
/ExtUtils-MakeMaker-7.02.tar.gz

View File

@ -1,88 +0,0 @@
From f91757e508a44c4e77488b9dfe1e4929adfa19a3 Mon Sep 17 00:00:00 2001
From: Ed J <mohawk2@users.noreply.github.com>
Date: Fri, 31 Oct 2014 03:22:52 +0000
Subject: [PATCH 1/2] Revert "Simulate Module::Install $(PERL) changing."
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit 1e0d49b8c19fd0ca142b41b8a445d30b93e46679.
(On e.g. Perl 5.10.1 adding -Mstrict to xsubpp causes problems)
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
t/xs.t | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/t/xs.t b/t/xs.t
index e021932..cdeb6dd 100644
--- a/t/xs.t
+++ b/t/xs.t
@@ -40,15 +40,6 @@ SKIP: {
skip 'perl Makefile.PL failed', 2;
}
- # now simulate what Module::Install does, and edit $(PERL) to add flags
- open my $fh, '<', 'Makefile';
- my $mtext = join '', <$fh>;
- close $fh;
- $mtext =~ s/^(\s*PERL\s*=.*)$/$1 -Mstrict/m;
- open $fh, '>', 'Makefile';
- print $fh $mtext;
- close $fh;
-
my $make = make_run();
my $make_out = run("$make");
unless (is( $?, 0, ' make exited normally' )) {
--
1.9.3
From d20eca9e8041a3ac2b3d780a42ee0e7314234c99 Mon Sep 17 00:00:00 2001
From: Ed J <mohawk2@users.noreply.github.com>
Date: Fri, 31 Oct 2014 03:42:44 +0000
Subject: [PATCH 2/2] Add compat-test for Module::Install behaviour to
t/basic.t
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
t/basic.t | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/t/basic.t b/t/basic.t
index f18859c..a0a6f91 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -3,6 +3,11 @@
# This test puts MakeMaker through the paces of a basic perl module
# build, test and installation of the Big::Fat::Dummy module.
+# Module::Install relies on being able to patch the generated Makefile
+# to add flags to $(PERL)
+# This test includes adding ' -Iinc' to $(PERL), and checking 'make install'
+# after that works. Done here as back-compat is considered basic.
+
BEGIN {
unshift @INC, 't/lib';
}
@@ -133,6 +138,14 @@ like( $test_out, qr/All tests successful/, ' successful' );
is( $?, 0, ' exited normally' ) ||
diag $test_out;
+# now simulate what Module::Install does, and edit $(PERL) to add flags
+open my $fh, '<', $makefile;
+my $mtext = join '', <$fh>;
+close $fh;
+$mtext =~ s/^(\s*PERL\s*=.*)$/$1 -Iinc/m;
+open $fh, '>', $makefile;
+print $fh $mtext;
+close $fh;
my $install_out = run("$make install");
is( $?, 0, 'install' ) || diag $install_out;
--
1.9.3

View File

@ -1,4 +1,4 @@
From 08a3479e2506391d829211ddb716aaaacb263aa4 Mon Sep 17 00:00:00 2001 From a800c4f9170b7c7c7fd4b16a974ad8c8d37d7f4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Thu, 12 Jan 2012 17:05:19 +0100 Date: Thu, 12 Jan 2012 17:05:19 +0100
Subject: [PATCH] Do not set RPATH by default Subject: [PATCH] Do not set RPATH by default
@ -20,7 +20,7 @@ Signed-off-by: Petr Písař <ppisar@redhat.com>
3 files changed, 62 insertions(+), 3 deletions(-) 3 files changed, 62 insertions(+), 3 deletions(-)
diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm
index 41a0ccb..0e67404 100644 index 3a18edf..4cc9890 100644
--- a/lib/ExtUtils/Liblist.pm --- a/lib/ExtUtils/Liblist.pm
+++ b/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 @@ -88,6 +88,11 @@ libraries. LD_RUN_PATH is a colon separated list of the directories
@ -36,7 +36,7 @@ index 41a0ccb..0e67404 100644
List of those libraries that are needed but can be linked in 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 diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index 9fa6704..44c45d5 100644 index f0d223f..4526f57 100644
--- a/lib/ExtUtils/MM_Unix.pm --- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm
@@ -970,7 +970,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPO @@ -970,7 +970,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPO
@ -49,7 +49,7 @@ index 9fa6704..44c45d5 100644
} }
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm
index b585b99..af8e91c 100644 index 028925b..86e6d83 100644
--- a/lib/ExtUtils/MakeMaker.pm --- a/lib/ExtUtils/MakeMaker.pm
+++ b/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm
@@ -301,7 +301,7 @@ sub full_setup { @@ -301,7 +301,7 @@ sub full_setup {
@ -61,7 +61,7 @@ index b585b99..af8e91c 100644
XS_VERSION clean depend dist dynamic_lib linkext macro realclean XS_VERSION clean depend dist dynamic_lib linkext macro realclean
tool_autosplit tool_autosplit
@@ -456,7 +456,27 @@ sub new { @@ -436,7 +436,27 @@ sub new {
# PRINT_PREREQ is RedHatism. # PRINT_PREREQ is RedHatism.
if ("@ARGV" =~ /\bPRINT_PREREQ\b/) { if ("@ARGV" =~ /\bPRINT_PREREQ\b/) {
$self->_PRINT_PREREQ; $self->_PRINT_PREREQ;
@ -90,7 +90,7 @@ index b585b99..af8e91c 100644
print "MakeMaker (v$VERSION)\n" if $Verbose; print "MakeMaker (v$VERSION)\n" if $Verbose;
if (-f "MANIFEST" && ! -f "Makefile" && ! $ENV{PERL_CORE}){ if (-f "MANIFEST" && ! -f "Makefile" && ! $ENV{PERL_CORE}){
@@ -2727,6 +2747,40 @@ precedence. A typemap in the current directory has highest @@ -2713,6 +2733,40 @@ precedence. A typemap in the current directory has highest
precedence, even if it isn't listed in TYPEMAPS. The default system precedence, even if it isn't listed in TYPEMAPS. The default system
typemap has lowest precedence. typemap has lowest precedence.

View File

@ -1,9 +1,9 @@
%global cpan_name ExtUtils-MakeMaker %global cpan_name ExtUtils-MakeMaker
%global cpan_version 7.00 %global cpan_version 7.02
Name: perl-%{cpan_name} Name: perl-%{cpan_name}
Version: %(echo '%{cpan_version}' | tr _ .) Version: %(echo '%{cpan_version}' | tr _ .)
Release: 2%{?dist} Release: 1%{?dist}
Summary: Create a module Makefile Summary: Create a module Makefile
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -11,16 +11,13 @@ URL: http://search.cpan.org/dist/%{cpan_name}/
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{cpan_version}.tar.gz 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. # Do not set RPATH to perl shared-library modules by default. Bug #773622.
# This is copy from `perl' package. This is distributor extension. # This is copy from `perl' package. This is distributor extension.
Patch0: %{cpan_name}-7.00-USE_MM_LD_RUN_PATH.patch Patch0: %{cpan_name}-7.02-USE_MM_LD_RUN_PATH.patch
# Link to libperl.so explicitly. Bug #960048. # Link to libperl.so explicitly. Bug #960048.
Patch1: %{cpan_name}-7.00-Link-to-libperl-explicitly-on-Linux.patch Patch1: %{cpan_name}-7.00-Link-to-libperl-explicitly-on-Linux.patch
# Unbundle version modules # Unbundle version modules
Patch2: ExtUtils-MakeMaker-7.00-Unbundle-version.patch Patch2: ExtUtils-MakeMaker-7.00-Unbundle-version.patch
# Unbundle Encode::Locale module # Unbundle Encode::Locale module
Patch3: ExtUtils-MakeMaker-7.00-Unbundle-Encode-Locale.patch Patch3: ExtUtils-MakeMaker-7.00-Unbundle-Encode-Locale.patch
# Rebuilding EU-MM with xsubpp from perl-5.20 core causes test failure because
# shellbang prologue is not strict-safe, in 7.01_04.
Patch4: ExtUtils-MakeMaker-7.01_03-fix_m_strict_to_xsubpp_causes_problems.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
# Makefile.Pl uses ExtUtils::MakeMaker from ./lib # Makefile.Pl uses ExtUtils::MakeMaker from ./lib
@ -113,7 +110,6 @@ Dougherty and the perl5-porters.
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1
# Remove bundled modules # Remove bundled modules
rm -rf bundled rm -rf bundled
sed -i -e '/^bundled\// d' MANIFEST sed -i -e '/^bundled\// d' MANIFEST
@ -144,6 +140,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Nov 11 2014 Petr Pisar <ppisar@redhat.com> - 7.02-1
- 7.02 bump
* Wed Nov 05 2014 Petr Pisar <ppisar@redhat.com> - 7.00-2 * Wed Nov 05 2014 Petr Pisar <ppisar@redhat.com> - 7.00-2
- Fix building with older xsubpp - Fix building with older xsubpp

View File

@ -1 +1 @@
9b56741749a1874a0c65f8e89fc0c501 ExtUtils-MakeMaker-7.00.tar.gz 4e249fb6b148dd89465001f3905a1ead ExtUtils-MakeMaker-7.02.tar.gz