diff --git a/cockpit.spec b/cockpit.spec index 8bc6b3c..7c46bbd 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -212,6 +212,8 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/docker %if 0%{?suse_version} %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} + %endif %files @@ -273,6 +275,7 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html %endif %files ws +%{_sbindir}/rccockpit %if 0%{?suse_version} %defattr(-,root,root) %endif