diff --git a/DBIx-Class-Schema-Loader-0.07046-Fix-building-on-Perl-without-dot-in-INC.patch b/DBIx-Class-Schema-Loader-0.07046-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..2172f89 --- /dev/null +++ b/DBIx-Class-Schema-Loader-0.07046-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,11 @@ +diff -up DBIx-Class-Schema-Loader-0.07046/Makefile.PL.orig DBIx-Class-Schema-Loader-0.07046/Makefile.PL +--- DBIx-Class-Schema-Loader-0.07046/Makefile.PL.orig 2017-05-26 15:32:33.751258460 +0200 ++++ DBIx-Class-Schema-Loader-0.07046/Makefile.PL 2017-05-26 15:33:57.505773731 +0200 +@@ -2,6 +2,7 @@ use warnings; + use strict; + + use 5.008001; ++BEGIN { push @INC, '.'; } + use inc::Module::Install 1.00; + + use Getopt::Long(); diff --git a/perl-DBIx-Class-Schema-Loader.spec b/perl-DBIx-Class-Schema-Loader.spec index ede2367..f319fc0 100644 --- a/perl-DBIx-Class-Schema-Loader.spec +++ b/perl-DBIx-Class-Schema-Loader.spec @@ -1,11 +1,12 @@ Name: perl-DBIx-Class-Schema-Loader Summary: Dynamic definition of a DBIx::Class::Schema Version: 0.07046 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/DBIx-Class-Schema-Loader-%{version}.tar.gz URL: http://search.cpan.org/dist/DBIx-Class-Schema-Loader/ +Patch0: DBIx-Class-Schema-Loader-0.07046-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Build BuildRequires: findutils @@ -101,6 +102,7 @@ and setting up the columns, primary keys, and relationships. %prep %setup -q -n DBIx-Class-Schema-Loader-%{version} +%patch0 -p1 find t -type f -print0 | xargs -0 sed -i '1s,#!.*perl,#!%{__perl},' %build @@ -122,6 +124,9 @@ make test %{_bindir}/* %changelog +* Fri May 26 2017 Jitka Plesnikova - 0.07046-3 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering - 0.07046-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild