[packages/perl-Authen-PAM] - perl 5.26 build fix - rel 18

baggins baggins at pld-linux.org
Mon Jun 12 15:25:14 CEST 2017


commit 90b8ef24b02548e2460ffcccce234cf64f7be898
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 12 15:24:58 2017 +0200

    - perl 5.26 build fix
    - rel 18

 no-dot-in-INC.patch  | 11 +++++++++++
 perl-Authen-PAM.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Authen-PAM.spec b/perl-Authen-PAM.spec
index 459ea0d..94261ed 100644
--- a/perl-Authen-PAM.spec
+++ b/perl-Authen-PAM.spec
@@ -9,13 +9,14 @@ Summary:	Authen::PAM - Perl interface to PAM library
 Summary(pl.UTF-8):	Authen::PAM - interfejs perlowy do biblioteki PAM
 Name:		perl-Authen-PAM
 Version:	0.16
-Release:	17
+Release:	18
 # same as perl
 License:	GPL v1+ or Artistic
 Vendor:		Nikolay Pelov <pelov at cs.kuleuven.ac.be>
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	7278471dfa694d9ef312bc92d7099af2
+Patch0:		no-dot-in-INC.patch
 URL:		http://www.cs.kuleuven.ac.be/~pelov/pam/
 BuildRequires:	pam-devel
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -30,6 +31,7 @@ Moduł Authen::PAM umożliwia dostęp z Perla do biblioteki PAM.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/no-dot-in-INC.patch b/no-dot-in-INC.patch
new file mode 100644
index 0000000..25fcec2
--- /dev/null
+++ b/no-dot-in-INC.patch
@@ -0,0 +1,11 @@
+--- Authen-PAM-0.16/Makefile.PL~	2005-06-06 15:29:12.000000000 +0200
++++ Authen-PAM-0.16/Makefile.PL	2017-06-12 15:23:58.561674368 +0200
+@@ -10,7 +10,7 @@
+ 
+     # returns a reference to anonymous hash which is then interpreted as
+     # additional options to the WriteMakeFile
+-    $options = require "pam.cfg";
++    $options = require "./pam.cfg";
+ 
+     if ( $Config{'osname'} eq 'solaris' && $Config{'osvers'} eq '2.6') {
+       print "Adding a workaround for a bug in the Solaris 2.6 pam library\n";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Authen-PAM.git/commitdiff/90b8ef24b02548e2460ffcccce234cf64f7be898



More information about the pld-cvs-commit mailing list