Add opensc modules to the reference db during package build.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2013-05-20 16:26:54 -04:00
parent aae58a2c11
commit 8d87de3fdd
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -1,2 +1,3 @@
328db7cb27847cb610b7cf8f9c470455 rh-test-certs.tar.bz2
386de71bf2dd5db5a1c0d9e3f37469dd pesign-0.104.tar.bz2
c83e5967f9db639b70d72463feab18f8 pesign-0.105.tar.bz2