diff --git a/DBIx-Class-0.082840-Fix-building-on-Perl-without-dot-in-INC.patch b/DBIx-Class-0.082840-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..3431928 --- /dev/null +++ b/DBIx-Class-0.082840-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,8 @@ +diff -up DBIx-Class-0.082840/Makefile.PL.orig DBIx-Class-0.082840/Makefile.PL +--- DBIx-Class-0.082840/Makefile.PL.orig 2017-05-26 10:29:28.090609173 +0200 ++++ DBIx-Class-0.082840/Makefile.PL 2017-05-26 10:29:52.467466333 +0200 +@@ -1,3 +1,4 @@ ++BEGIN { push @INC, '.'; } + use strict; + use warnings; + diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec index b9a0ca5..cd8eed8 100644 --- a/perl-DBIx-Class.spec +++ b/perl-DBIx-Class.spec @@ -1,7 +1,7 @@ Name: perl-DBIx-Class Summary: Extensible and flexible object <-> relational mapper Version: 0.082840 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz @@ -11,6 +11,8 @@ URL: http://search.cpan.org/dist/DBIx-Class/ Patch0: DBIx-Class-0.082840-Fix-test-RT117271.patch # Disable a test incompatible with sqlite >= 3.14, CPAN RT#119845 Patch1: DBIx-Class-0.082840-sqlite-3.14.patch +# Fix building on Perl without '.' in @INC +Patch2: DBIx-Class-0.082840-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Build BuildRequires: coreutils @@ -274,6 +276,7 @@ DISTINCT, GROUP BY and HAVING support. %setup -q -n DBIx-Class-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 chmod -c +x script/* # skip dbic_pretty.t when bootstrapping %if 0%{?perl_bootstrap} @@ -304,6 +307,9 @@ make test %{_mandir}/man[13]/* %changelog +* Fri May 26 2017 Jitka Plesnikova - 0.082840-5 +- Fix building on Perl without '.' in @INC + * Tue Feb 28 2017 Petr Pisar - 0.082840-4 - Disable a test incompatible with sqlite >= 3.14 (CPAN RT#119845)