From 82093da1321bb4039f05ac539254c796b661d37b Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Fri, 26 May 2017 13:58:27 +0200 Subject: Fix building on Perl without '.' in @INC (CPAN RT#121903)
--- ...olumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch | 10 ++++++++++ perl-DBIx-Class-EncodedColumn.spec | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 DBIx-Class-EncodedColumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch diff --git a/DBIx-Class-EncodedColumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch b/DBIx-Class-EncodedColumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..80e63ae --- /dev/null +++ b/DBIx-Class-EncodedColumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,10 @@ +diff -up DBIx-Class-EncodedColumn-0.00015/Makefile.PL.orig DBIx-Class-EncodedColumn-0.00015/Makefile.PL +--- DBIx-Class-EncodedColumn-0.00015/Makefile.PL.orig 2017-05-26 13:46:46.935012736 +0200 ++++ DBIx-Class-EncodedColumn-0.00015/Makefile.PL 2017-05-26 13:50:25.633688589 +0200 +@@ -1,5 +1,6 @@ + #! /usr/bin/perl -w + ++BEGIN { push @INC, '.'; } + # Load the Module::Install bundled in ./inc/ + use inc::Module::Install; + use Module::Install::ReadmeFromPod; diff --git a/perl-DBIx-Class-EncodedColumn.spec b/perl-DBIx-Class-EncodedColumn.spec index 5360e93..ce8a606 100644 --- a/perl-DBIx-Class-EncodedColumn.spec +++ b/perl-DBIx-Class-EncodedColumn.spec @@ -1,10 +1,11 @@ Name: perl-DBIx-Class-EncodedColumn Version: 0.00015 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automatically encode columns License: GPL+ or Artistic URL: http://search.cpan.org/dist/DBIx-Class-EncodedColumn/ Source0: http://search.cpan.org/CPAN/authors/id/W/WR/WREIS/DBIx-Class-EncodedColumn-%{version}.tar.gz +Patch0: DBIx-Class-EncodedColumn-0.00015-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Build BuildRequires: perl @@ -55,6 +56,7 @@ contents whenever the value of that column is set. %prep %setup -q -n DBIx-Class-EncodedColumn-%{version} +%patch0 -p1 # Crypt::OpenPGP is not available in Fedora. # It cannot be packaged because its dependency, Crypt::RIPEMD160, # cannot be packaged. See rhbz#182235. @@ -77,6 +79,9 @@ make test %{_mandir}/man3/* %changelog +* Fri May 26 2017 Jitka Plesnikova <jples...@redhat.com> - 0.00015-3 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 0.00015-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-DBIx-Class-EncodedColumn.git/commit/?h=master&id=82093da1321bb4039f05ac539254c796b661d37b _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org