From 05e687a00ca13afc4a5b4e876b049475b0fcc95f Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Thu, 18 May 2017 22:04:05 +0200 Subject: Fix building on Perl without '.' in @INC (CPAN RT#115108)
--- ...thods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch | 12 ++++++++++++ perl-Class-MakeMethods.spec | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 Class-MakeMethods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch diff --git a/Class-MakeMethods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch b/Class-MakeMethods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..91f0d2c --- /dev/null +++ b/Class-MakeMethods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,12 @@ +diff -up Class-MakeMethods-1.009/t/emulator_class_methodmaker/Test.pm.orig Class-MakeMethods-1.009/t/emulator_class_methodmaker/Test.pm +--- Class-MakeMethods-1.009/t/emulator_class_methodmaker/Test.pm.orig 2017-05-18 21:59:05.251597233 +0200 ++++ Class-MakeMethods-1.009/t/emulator_class_methodmaker/Test.pm 2017-05-18 21:59:30.383462991 +0200 +@@ -48,7 +48,7 @@ sub COUNT_TESTS { + open(IN, $file) or die "Can't open $file: $!"; + while (<IN>) { + /^\s*#/ and next; +- $c += s/(TEST\s{)/$1/g; ++ $c += s/(TEST\s\{)/$1/g; + } + $c; + } diff --git a/perl-Class-MakeMethods.spec b/perl-Class-MakeMethods.spec index 9553ecf..d231dd5 100644 --- a/perl-Class-MakeMethods.spec +++ b/perl-Class-MakeMethods.spec @@ -1,11 +1,12 @@ Name: perl-Class-MakeMethods Version: 1.009 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Generate common types of methods Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Class-MakeMethods -Source0: http://search.cpan.org/CPAN/authors/id/E/EV/EVO/Class-MakeMethods-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/E/EV/EVO/Class-MakeMethods-%{version}.tar.gz +Patch0: Class-MakeMethods-1.009-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Build BuildRequires: coreutils @@ -64,6 +65,7 @@ for hundreds of possible combinations of method types. %prep %setup -q -n Class-MakeMethods-%{version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 @@ -82,6 +84,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Thu May 18 2017 Jitka Plesnikova <jples...@redhat.com> - 1.009-8 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 1.009-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Class-MakeMethods.git/commit/?h=master&id=05e687a00ca13afc4a5b4e876b049475b0fcc95f _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org