From 57bc8e604d46f14cad542a45687b52c91aed22aef57aaf538e29de9943bb557c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Sun, 8 Feb 2015 12:43:52 +0000 Subject: [PATCH] no firewalld on SUSE OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=13 --- cockpit.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cockpit.spec b/cockpit.spec index be2abea..17a7250 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -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