SHA256
1
0
forked from cockpit/cockpit
Klaus Kämpf 2015-02-08 12:50:42 +00:00 committed by Git OBS Bridge
parent 57bc8e604d
commit 27365eb315

View File

@ -211,6 +211,10 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
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
rm -rf %{_libdir}/security
%endif
%files
@ -235,9 +239,10 @@ rm -rf %{buildroot}%{_prefix}/lib/firewalld
%{_bindir}/cockpit-bridge
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
%if 0%{?suse_version}
%dir %{_libdir}/security
%endif
%{_lib}/security/pam_reauthorize.so
%else
%{_libdir}/security/pam_reauthorize.so
%endif
%files daemon
%if 0%{?suse_version}