diff --git a/cockpit.spec b/cockpit.spec index 31bbe30..c9ecce6 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -212,7 +212,7 @@ ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name} # no firewalld on SUSE rm -rf %{buildroot}%{_prefix}/lib/firewalld # PAM security -install -d /%{_lib}/security +install -d %{buildroot}/%{_lib}/security mv %{buildroot}%{_libdir}/security/pam_reauthorize.so %{buildroot}/%{_lib}/security rm -rf %{_libdir}/security %endif