SHA256
1
0
forked from cockpit/cockpit
Klaus Kämpf 2015-02-08 12:43:52 +00:00 committed by Git OBS Bridge
parent 4e9f821bcb
commit 57bc8e604d

View File

@ -209,7 +209,8 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/docker
%suse_update_desktop_file -u -r -G 'Cockpit Server Manager' %{name} System Utility %suse_update_desktop_file -u -r -G 'Cockpit Server Manager' %{name} System Utility
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html 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
rm -rf %{buildroot}%{_prefix}/lib/firewalld
%endif %endif
%files %files
@ -281,10 +282,6 @@ ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name}
%config(noreplace) %{_sysconfdir}/pam.d/cockpit %config(noreplace) %{_sysconfdir}/pam.d/cockpit
%{_unitdir}/cockpit.service %{_unitdir}/cockpit.service
%{_unitdir}/cockpit.socket %{_unitdir}/cockpit.socket
%if 0%{?suse_version}
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%endif
%{_prefix}/lib/firewalld/services/cockpit.xml %{_prefix}/lib/firewalld/services/cockpit.xml
%{_sbindir}/remotectl %{_sbindir}/remotectl
%{_libexecdir}/cockpit-ws %{_libexecdir}/cockpit-ws