From b36555da1744038526aa8b95b5981427e8166ac0 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Fri, 26 May 2017 13:23:46 +0200
Subject: Fix building on Perl without '.' in @INC (CPAN RT#121902)
---
...eM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch | 10 ++++++++++
perl-DBIx-Class-IntrospectableM2M.spec | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644
DBIx-Class-IntrospectableM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch
diff --git
a/DBIx-Class-IntrospectableM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch
b/DBIx-Class-IntrospectableM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch
new file mode 100644
index 0000000..e6bd9ba
--- /dev/null
+++
b/DBIx-Class-IntrospectableM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch
@@ -0,0 +1,10 @@
+diff -up DBIx-Class-IntrospectableM2M-0.001002/Makefile.PL.orig
DBIx-Class-IntrospectableM2M-0.001002/Makefile.PL
+--- DBIx-Class-IntrospectableM2M-0.001002/Makefile.PL.orig 2017-05-26
13:15:44.794792853 +0200
++++ DBIx-Class-IntrospectableM2M-0.001002/Makefile.PL 2017-05-26
13:15:56.962718572 +0200
+@@ -1,5 +1,6 @@
+ #! /usr/bin/perl -w
+
++BEGIN { push @INC, '.'; }
+ # Load the Module::Install bundled in ./inc/
+ use inc::Module::Install;
+
diff --git a/perl-DBIx-Class-IntrospectableM2M.spec
b/perl-DBIx-Class-IntrospectableM2M.spec
index 3b2308c..0ebc3f0 100644
--- a/perl-DBIx-Class-IntrospectableM2M.spec
+++ b/perl-DBIx-Class-IntrospectableM2M.spec
@@ -1,11 +1,12 @@
Name: perl-DBIx-Class-IntrospectableM2M
Version: 0.001002
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Introspect many-to-many shortcuts
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M/
Source0:
http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-IntrospectableM2M-%{version}.tar.gz
+Patch0:
DBIx-Class-IntrospectableM2M-0.001002-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch
# Build
BuildRequires: make
@@ -39,6 +40,7 @@ and examined.
%prep
%setup -q -n DBIx-Class-IntrospectableM2M-%{version}
+%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@@ -57,6 +59,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri May 26 2017 Jitka Plesnikova <[email protected]> - 0.001002-6
+- Fix building on Perl without '.' in @INC
+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> -
0.001002-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-DBIx-Class-IntrospectableM2M.git/commit/?h=master&id=b36555da1744038526aa8b95b5981427e8166ac0
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]