Fixes for removal '.' from @INC in Perl 5.26

This commit is contained in:
Jitka Plesnikova 2017-05-15 14:03:41 +02:00
parent 6875f41571
commit 9a3fbb4233
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up Unicode-Normalize-1.25/Makefile.PL.orig Unicode-Normalize-1.25/Makefile.PL
--- Unicode-Normalize-1.25/Makefile.PL.orig 2017-05-12 10:24:13.296305863 +0200
+++ Unicode-Normalize-1.25/Makefile.PL 2017-05-12 10:25:28.275822594 +0200
@@ -8,7 +8,7 @@ my $mm_ver = ExtUtils::MakeMaker->VERSIO
if (-f "Normalize.xs") {
print STDERR "Making header files for XS...\n";
- do 'mkheader' or die $@ || "mkheader: $!";
+ do './mkheader' or die $@ || "mkheader: $!";
$clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
}

View File

@ -1,11 +1,12 @@
Name: perl-Unicode-Normalize
Version: 1.25
Release: 366%{?dist}
Release: 367%{?dist}
Summary: Unicode Normalization Forms
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Unicode-Normalize/
Source0: http://www.cpan.org/authors/id/K/KH/KHW/Unicode-Normalize-%{version}.tar.gz
Patch0: Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
@ -34,6 +35,7 @@ Unicode normalization forms as defined in Unicode Standard Annex #15.
%prep
%setup -q -n Unicode-Normalize-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@ -56,6 +58,9 @@ make test
%{_mandir}/man3/*
%changelog
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-367
- Fixes for removal '.' from @INC in Perl 5.26
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-366
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild