--- /dev/null
+--- 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";
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@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
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \