forked from pool/pam_pkcs11
Accepting request 991716 from home:pgajdos
- use pam rpm macros [bsc#1190957] OBS-URL: https://build.opensuse.org/request/show/991716 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pam_pkcs11?expand=0&rev=31
This commit is contained in:
parent
71f71b9701
commit
38fba7e602
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 08:49:15 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- use pam rpm macros [bsc#1190957]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 15 10:26:28 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
@ -107,9 +107,11 @@ sed -i '/^HTML_TIMESTAMP/s/YES/NO/' doc/doxygen.conf.in
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
mv %{buildroot}%{_libdir}/security %{buildroot}/%{_lib}
|
||||
rm %{buildroot}%{_libdir}/pam_pkcs11/*.*a %{buildroot}/%{_lib}/security/*.*a
|
||||
%if 0%{?suse_version} <= 1500
|
||||
mkdir -p %{buildroot}%{_pam_moduledir}
|
||||
mv %{buildroot}%{_libdir}/security/* %{buildroot}%{_pam_moduledir}
|
||||
%endif
|
||||
rm %{buildroot}%{_pam_moduledir}/*.la %{buildroot}%{_libdir}/pam_pkcs11/*.la
|
||||
# Hardcoded defaults... no sysconfdir
|
||||
install -dm 755 %{buildroot}%{_sysconfdir}/pam_pkcs11/cacerts
|
||||
install -dm 755 %{buildroot}%{_sysconfdir}/pam_pkcs11/crls
|
||||
@ -145,7 +147,7 @@ ln -s service %{buildroot}%{_sbindir}/rcpkcs11_eventmgr
|
||||
%exclude %{_docdir}/%{name}/api
|
||||
%{_bindir}/*
|
||||
%{_libdir}/pam_pkcs11
|
||||
/%{_lib}/security/*.so
|
||||
/%{_pam_moduledir}/*.so
|
||||
%{_mandir}/man?/*%{ext_man}
|
||||
%dir %{_sysconfdir}/pam_pkcs11
|
||||
%dir %{_sysconfdir}/pam_pkcs11/cacerts
|
||||
|
Loading…
Reference in New Issue
Block a user