diff --git a/cockpit.spec b/cockpit.spec index 68090f3..31bbe30 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -212,8 +212,8 @@ 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 -mv %{buildroot}%{_libdir}/security/pam_reauthorize.so %{buildroot}%{_lib}/security +install -d /%{_lib}/security +mv %{buildroot}%{_libdir}/security/pam_reauthorize.so %{buildroot}/%{_lib}/security rm -rf %{_libdir}/security %endif