From 9a3fbb423344ec3899bd29cf74c358d80f8469df Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 15 May 2017 14:03:41 +0200 Subject: [PATCH] Fixes for removal '.' from @INC in Perl 5.26 --- ...rmalize-1.25-Fixes-for-removal-dot-from-INC.patch | 12 ++++++++++++ perl-Unicode-Normalize.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch diff --git a/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch b/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch new file mode 100644 index 0000000..e34e2b1 --- /dev/null +++ b/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch @@ -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' }; + } diff --git a/perl-Unicode-Normalize.spec b/perl-Unicode-Normalize.spec index 422ac62..5245c4a 100644 --- a/perl-Unicode-Normalize.spec +++ b/perl-Unicode-Normalize.spec @@ -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 - 1.25-367 +- Fixes for removal '.' from @INC in Perl 5.26 + * Sat Feb 11 2017 Fedora Release Engineering - 1.25-366 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild