Use -force when adding pkcs11 modules to our nss database.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2012-10-19 19:42:45 -04:00
parent 11a11c6946
commit e8506b8f23

View File

@ -88,9 +88,9 @@ rm -rf %{buildroot}/boot %{buildroot}/usr/include
rm -rf %{buildroot}%{_libdir}/libdpe* rm -rf %{buildroot}%{_libdir}/libdpe*
mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/ mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/
modutil -dbdir /etc/pki/pesign -add coolkey \ modutil -force -dbdir %{buildroot}/etc/pki/pesign -add coolkey \
-libfile %{_libdir}pkcs11/libcoolkeypk11.so -libfile %{_libdir}/pkcs11/libcoolkeypk11.so
modutil -dbdir /etc/pki/pesign -add opensc \ modutil -force -dbdir %{buildroot}/etc/pki/pesign -add opensc \
-libfile %{_libdir}/pkcs11/opensc-pkcs11.so -libfile %{_libdir}/pkcs11/opensc-pkcs11.so
%clean %clean