SHA256
1
0
forked from pool/openCryptoki
Dominique Leuenberger 2017-03-18 19:51:04 +00:00 committed by Git OBS Bridge
commit 294be4d5ed
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 17 20:50:45 UTC 2017 - mpost@suse.com
- Modified the spec file
- Changed libca3-devel BuildRequires to just libica-devel
- Check for systemd in the 32bit postun scriptlet.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 20 19:48:33 UTC 2017 - mpost@suse.com Mon Feb 20 19:48:33 UTC 2017 - mpost@suse.com

View File

@ -36,7 +36,7 @@ BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%ifarch s390 s390x %ifarch s390 s390x
BuildRequires: libica3-devel BuildRequires: libica-devel
%endif %endif
BuildRequires: libtool BuildRequires: libtool
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
@ -223,8 +223,15 @@ fi
%ifarch %openCryptoki_32bit_arch %ifarch %openCryptoki_32bit_arch
%postun 32bit %postun 32bit
# remove the openCryptoki start script if [ -L %{_sysconfdir}/pkcs11 ] ; then
rm %{_sysconfdir}/pkcs11
fi
%if %{uses_systemd}
%{service_del_postun pkcsslotd.service}
%else
%{restart_on_update pkcsslotd}
%{insserv_cleanup} %{insserv_cleanup}
%endif
%post 32bit %post 32bit
# Old library name links # Old library name links