diff --git a/opencryptoki.spec b/opencryptoki.spec index 65bc161..412dfe3 100644 --- a/opencryptoki.spec +++ b/opencryptoki.spec @@ -200,26 +200,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/stdll/*.la -%post libs -p /sbin/ldconfig -%post swtok -p /sbin/ldconfig -%post tpmtok -p /sbin/ldconfig -%post icsftok -p /sbin/ldconfig -%ifarch s390 s390x -%post icatok -p /sbin/ldconfig -%post ccatok -p /sbin/ldconfig -%post ep11tok -p /sbin/ldconfig -%endif - -%postun libs -p /sbin/ldconfig -%postun swtok -p /sbin/ldconfig -%postun tpmtok -p /sbin/ldconfig -%postun icsftok -p /sbin/ldconfig -%ifarch s390 s390x -%postun icatok -p /sbin/ldconfig -%postun ccatok -p /sbin/ldconfig -%postun ep11tok -p /sbin/ldconfig -%endif - %pre libs getent group pkcs11 >/dev/null || groupadd -r pkcs11 exit 0