Fix building on Perl without "." in @INC
This commit is contained in:
parent
59c1454af5
commit
a365ef6224
@ -0,0 +1,25 @@
|
||||
From fc4e65f8d43226739624e15fe3eefa0d05fd8f96 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Wed, 17 May 2017 16:48:56 +0200
|
||||
Subject: [PATCH] Fix building on Perl without "." in @INC
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 93b5ed5..fffb0d1 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,3 +1,4 @@
|
||||
+BEGIN { push @INC, '.'; }
|
||||
use inc::Module::Package 'Ingy:modern 0.17';
|
||||
|
||||
# The default module 'lib/Module/Package.pm' has to be very strict
|
||||
--
|
||||
2.9.4
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
Name: perl-Module-Package
|
||||
Version: 0.30
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: Postmodern Perl Module Packaging
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Package/
|
||||
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Package-%{version}.tar.gz
|
||||
# Fix building on Perl without "." in @INC, CPAN RT#121748
|
||||
Patch0: Module-Package-0.30-Fix-building-on-Perl-without-.-in-INC.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
@ -31,6 +33,7 @@ Module::Install does, but just a bit better.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Package-%{version}
|
||||
%patch0 -p1
|
||||
# XXX: Do not unbundle ./inc/ because of bootstrap
|
||||
|
||||
%build
|
||||
@ -52,6 +55,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed May 17 2017 Petr Pisar <ppisar@redhat.com> - 0.30-13
|
||||
- Fix building on Perl without "." in @INC (CPAN RT#121748)
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user