diff --git a/openCryptoki.spec b/openCryptoki.spec index 8527943..52adcc9 100644 --- a/openCryptoki.spec +++ b/openCryptoki.spec @@ -194,6 +194,8 @@ fi cd %{_libdir}/opencryptoki && ln -sf ./libopencryptoki.so PKCS11_API.so ln -sf %{_sbindir} %{_libdir}/opencryptoki/methods rm -rf %{_libdir}/pkcs11/stdll +if [ -d %{_libdir}/pkcs11 ] ; then + cd %{_libdir}/pkcs11 ln -sf ../opencryptoki/stdll stdll cd stdll [ -f libpkcs11_ica.so ] && ln -sf ./libpkcs11_ica.so PKCS11_ICA.so || true