[packages/pam-pam_p11] - new URLs, updated to 0.1.6
qboosh
qboosh at pld-linux.org
Sat Nov 25 10:13:41 CET 2017
commit 1eb68ba5661ee8611d4a1af8fa11e9cc808106c8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 25 10:14:43 2017 +0100
- new URLs, updated to 0.1.6
pam-pam_p11.spec | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/pam-pam_p11.spec b/pam-pam_p11.spec
index 0b97bcf..c32c4a8 100644
--- a/pam-pam_p11.spec
+++ b/pam-pam_p11.spec
@@ -1,17 +1,19 @@
Summary: PAM module for using cryptographic tokens
Summary(pl.UTF-8): Moduł PAM umożliwiający używanie tokenów kryptograficznych
Name: pam-pam_p11
-Version: 0.1.5
-Release: 4
+Version: 0.1.6
+Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://www.opensc-project.org/files/pam_p11/pam_p11-%{version}.tar.gz
-# Source0-md5: 94684503b075eef02e03aafaff5d4a55
-URL: http://www.opensc-project.org/pam_p11/
-BuildRequires: libp11-devel
+#Source0Download: https://github.com/OpenSC/pam_p11/releases
+Source0: https://github.com/OpenSC/pam_p11/releases/download/pam_p11-%{version}/pam_p11-%{version}.tar.gz
+# Source0-md5: 2198d5451654ca5c1736343544cc78f5
+URL: https://github.com/OpenSC/pam_p11
+BuildRequires: libp11-devel >= 0.2.4
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: pam-devel
BuildRequires: pkgconfig
+Requires: libp11 >= 0.2.4
Obsoletes: pam-pam_opensc
Obsoletes: pam_opensc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,7 +34,8 @@ karty procesorowe i tokeny kryptograficzne USB.
%setup -q -n pam_p11-%{version}
%build
-%configure
+%configure \
+ --disable-static
%{__make}
%install
@@ -41,13 +44,15 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/pam_p11/*.{la,a}
+%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/*.la
+# packaged as %doc
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/pam_p11/NEWS
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc NEWS doc/{ChangeLog,*.html,*.css}
+%doc NEWS
%attr(755,root,root) /%{_lib}/security/pam_p11_opensc.so
%attr(755,root,root) /%{_lib}/security/pam_p11_openssh.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pam-pam_p11.git/commitdiff/1eb68ba5661ee8611d4a1af8fa11e9cc808106c8
More information about the pld-cvs-commit
mailing list