forked from cockpit/cockpit
file PAM dir
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=14
This commit is contained in:
parent
57bc8e604d
commit
27365eb315
@ -211,6 +211,10 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
|
|||||||
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name}
|
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name}
|
||||||
# no firewalld on SUSE
|
# no firewalld on SUSE
|
||||||
rm -rf %{buildroot}%{_prefix}/lib/firewalld
|
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
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -235,9 +239,10 @@ rm -rf %{buildroot}%{_prefix}/lib/firewalld
|
|||||||
%{_bindir}/cockpit-bridge
|
%{_bindir}/cockpit-bridge
|
||||||
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
|
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%dir %{_libdir}/security
|
%{_lib}/security/pam_reauthorize.so
|
||||||
%endif
|
%else
|
||||||
%{_libdir}/security/pam_reauthorize.so
|
%{_libdir}/security/pam_reauthorize.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files daemon
|
%files daemon
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user