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