forked from cockpit/cockpit
no firewalld on SUSE
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=13
This commit is contained in:
parent
4e9f821bcb
commit
57bc8e604d
@ -209,7 +209,8 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/docker
|
||||
%suse_update_desktop_file -u -r -G 'Cockpit Server Manager' %{name} System Utility
|
||||
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
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -281,10 +282,6 @@ ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name}
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
|
||||
%{_unitdir}/cockpit.service
|
||||
%{_unitdir}/cockpit.socket
|
||||
%if 0%{?suse_version}
|
||||
%dir %{_prefix}/lib/firewalld
|
||||
%dir %{_prefix}/lib/firewalld/services
|
||||
%endif
|
||||
%{_prefix}/lib/firewalld/services/cockpit.xml
|
||||
%{_sbindir}/remotectl
|
||||
%{_libexecdir}/cockpit-ws
|
||||
|
Loading…
Reference in New Issue
Block a user