From 7d81c8ae29b55362db03c272a56e7dda8af7e4bbb49bc7bcc03e5486c5cb0d2a Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Mon, 27 Dec 2010 12:13:15 +0000 Subject: [PATCH] add patch to fix build on SLE OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Unload?expand=0&rev=2 --- ...lass-Unload-lower_required_makemaker_version.patch | 11 +++++++++++ perl-Class-Unload.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 perl-Class-Unload-lower_required_makemaker_version.patch diff --git a/perl-Class-Unload-lower_required_makemaker_version.patch b/perl-Class-Unload-lower_required_makemaker_version.patch new file mode 100644 index 0000000..4a26e68 --- /dev/null +++ b/perl-Class-Unload-lower_required_makemaker_version.patch @@ -0,0 +1,11 @@ +--- Makefile.PL.orig 2010-12-27 13:12:11.000000000 +0100 ++++ Makefile.PL 2010-12-27 13:12:20.000000000 +0100 +@@ -4,7 +4,7 @@ + + + +-use ExtUtils::MakeMaker 6.31; ++use ExtUtils::MakeMaker 6.30; + + + diff --git a/perl-Class-Unload.spec b/perl-Class-Unload.spec index 1308866..ec86eac 100644 --- a/perl-Class-Unload.spec +++ b/perl-Class-Unload.spec @@ -5,6 +5,7 @@ Version: 0.06 Release: 0 Summary: Unload a class Source: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz +Patch1: perl-Class-Unload-lower_required_makemaker_version.patch URL: http://search.cpan.org/dist/Class-Unload Group: Development/Libraries/Perl License: Perl License @@ -24,6 +25,7 @@ Unloads the given class by clearing out its symbol table and removing it from %prep %setup -q -n "Class-Unload-%{version}" +%patch1 %__sed -i '/^auto_install/d' Makefile.PL %build