Fix building on Perl without '.' in @INC (CPAN RT#121172)

f38
Jitka Plesnikova 8 years ago
parent 13e7761746
commit 4c2a608e31

@ -0,0 +1,8 @@
diff -up DBICx-TestDatabase-0.05/Makefile.PL.orig DBICx-TestDatabase-0.05/Makefile.PL
--- DBICx-TestDatabase-0.05/Makefile.PL.orig 2017-05-26 13:28:09.152226934 +0200
+++ DBICx-TestDatabase-0.05/Makefile.PL 2017-05-26 13:29:02.488834875 +0200
@@ -1,3 +1,4 @@
+BEGIN { push @INC, '.'; }
use inc::Module::Install;
name 'DBICx-TestDatabase';

@ -1,13 +1,15 @@
Name: perl-DBICx-TestDatabase Name: perl-DBICx-TestDatabase
Summary: Create a temporary database from a DBIx::Class::Schema Summary: Create a temporary database from a DBIx::Class::Schema
Version: 0.05 Version: 0.05
Release: 6%{?dist} Release: 7%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-%{version}.tar.gz
URL: http://search.cpan.org/dist/DBICx-TestDatabase URL: http://search.cpan.org/dist/DBICx-TestDatabase
Patch0: DBICx-TestDatabase-0.05-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch BuildArch: noarch
# Build # Build
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(Config) BuildRequires: perl(Config)
@ -49,6 +51,7 @@ failure, etc.
%prep %prep
%setup -q -n DBICx-TestDatabase-%{version} %setup -q -n DBICx-TestDatabase-%{version}
%patch0 -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -67,6 +70,9 @@ make test
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Fri May 26 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-7
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-6 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save