Fix building on Perl without '.' in @INC

epel9
Jitka Plesnikova 8 years ago
parent e6aa0df9e5
commit 3a63ab22de

@ -0,0 +1,9 @@
diff -up Math-Base36-0.14/Makefile.PL.orig Math-Base36-0.14/Makefile.PL
--- Math-Base36-0.14/Makefile.PL.orig 2017-05-17 13:37:28.574935384 +0200
+++ Math-Base36-0.14/Makefile.PL 2017-05-17 13:38:24.641720026 +0200
@@ -1,3 +1,5 @@
+BEGIN { push @INC, '.'; }
+
use inc::Module::Install 1.00;
if ( -e 'MANIFEST.SKIP' ) {

@ -1,11 +1,12 @@
Name: perl-Math-Base36
Version: 0.14
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Encoding and decoding of base36 strings
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Math-Base36/
Source0: http://www.cpan.org/authors/id/B/BR/BRICAS/Math-Base36-%{version}.tar.gz
Patch0: Math-Base36-0.14-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch
# Build
BuildRequires: make
@ -41,6 +42,7 @@ This module converts to and from Base36 numbers (0..9 - A..Z).
%prep
%setup -q -n Math-Base36-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -59,6 +61,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed May 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-6
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save