From b55723b116fe38f7c9963fd5cb5fa5fb3f210233 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Mon, 29 May 2017 09:02:44 +0200
Subject: Fix building on Perl without '.' in @INC (CPAN RT#121926)
---
...ss-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch | 8 ++++++++
perl-Catalyst-Authentication-Store-DBIx-Class.spec | 14 +++++++++-----
2 files changed, 17 insertions(+), 5 deletions(-)
create mode 100644
Catalyst-Authentication-Store-DBIx-Class-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch
diff --git
a/Catalyst-Authentication-Store-DBIx-Class-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch
b/Catalyst-Authentication-Store-DBIx-Class-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch
new file mode 100644
index 0000000..bc4ee6a
--- /dev/null
+++
b/Catalyst-Authentication-Store-DBIx-Class-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch
@@ -0,0 +1,8 @@
+diff -up Catalyst-Authentication-Store-DBIx-Class-0.1506/Makefile.PL.orig
Catalyst-Authentication-Store-DBIx-Class-0.1506/Makefile.PL
+--- Catalyst-Authentication-Store-DBIx-Class-0.1506/Makefile.PL.orig
2017-05-29 08:52:35.111680148 +0200
++++ Catalyst-Authentication-Store-DBIx-Class-0.1506/Makefile.PL
2017-05-29 08:52:47.386608228 +0200
+@@ -1,3 +1,4 @@
++BEGIN { push @INC, '.'; }
+ use inc::Module::Install 0.91;
+
+ if( -e 'MANIFEST.SKIP' ) {
diff --git a/perl-Catalyst-Authentication-Store-DBIx-Class.spec
b/perl-Catalyst-Authentication-Store-DBIx-Class.spec
index 07eadef..49e1341 100644
--- a/perl-Catalyst-Authentication-Store-DBIx-Class.spec
+++ b/perl-Catalyst-Authentication-Store-DBIx-Class.spec
@@ -2,13 +2,13 @@
Name: perl-Catalyst-Authentication-Store-DBIx-Class
Version: 0.1506
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A storage class for Catalyst Authentication using DBIx::Class
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class/
Source0:
http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/%{pkgname}-%{version}.tar.gz
+Patch0:
Catalyst-Authentication-Store-DBIx-Class-0.1506-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch
-BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
@@ -47,10 +47,11 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl
-V:version`"; echo $version))
The Catalyst::Authentication::Store::DBIx::Class class provides access
to authentication information stored in a database via DBIx::Class.
+%{?perl_default_filter}
+
%prep
%setup -qn %{pkgname}-%{version}
-
-%{?perl_default_filter}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -58,7 +59,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
%check
@@ -70,6 +71,9 @@ TEST_POD=1 make test
%{_mandir}/man3/*
%changelog
+* Mon May 29 2017 Jitka Plesnikova <[email protected]> - 0.1506-5
+- Fix building on Perl without '.' in @INC
+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> -
0.1506-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Catalyst-Authentication-Store-DBIx-Class.git/commit/?h=master&id=b55723b116fe38f7c9963fd5cb5fa5fb3f210233
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]