forked from perl/perl-Class-Unload
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
This commit is contained in:
committed by
Git OBS Bridge
parent
aae7d757c6
commit
7d81c8ae29
11
perl-Class-Unload-lower_required_makemaker_version.patch
Normal file
11
perl-Class-Unload-lower_required_makemaker_version.patch
Normal file
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -5,6 +5,7 @@ Version: 0.06
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Unload a class
|
Summary: Unload a class
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz
|
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
|
URL: http://search.cpan.org/dist/Class-Unload
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
License: Perl License
|
||||||
@@ -24,6 +25,7 @@ Unloads the given class by clearing out its symbol table and removing it from
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Class-Unload-%{version}"
|
%setup -q -n "Class-Unload-%{version}"
|
||||||
|
%patch1
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Reference in New Issue
Block a user