From 2a5e556357436273d3a4b009a434a86df9365beff1e1f98a2ee1bdf2cefca45b Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Thu, 27 Sep 2018 15:24:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=37 --- openhpi.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openhpi.spec b/openhpi.spec index 0945122..ba79065 100644 --- a/openhpi.spec +++ b/openhpi.spec @@ -155,7 +155,7 @@ install -Dd -m 0755 \ %{buildroot}%{_sysconfdir}/openhpi \ %{buildroot}%{_localstatedir}/lib/openhpi install -m 0644 openhpi.conf.example %{buildroot}%{_sysconfdir}/openhpi/openhpi.conf -#%{__cp} -a README COPYING docs/hld/openhpi-manual %{buildroot}%{_docdir}/%{name}/ +ln -sf service %{buildroot}%{_sbindir}/rcopenhpid rm -rv %{buildroot}%{_datadir}/doc/%{name} find %{buildroot} -type f -name "*.la" -delete -print @@ -182,8 +182,7 @@ echo "Check OPENHPI_UNCONFIGURED in %{_sysconfdir}/openhpi/openhpi.conf" %dir %attr(0750,root,root) %{_sysconfdir}/openhpi %config(noreplace) %attr(0640,root,root) %{_sysconfdir}/openhpi/* %license COPYING -%doc ChangeLog AUTHORS README README.daemon *.example -#%doc %{_docdir}/%{name}/ +%doc ChangeLog README README.daemon *.example %dir %{_localstatedir}/lib/openhpi %dir %{_libdir}/openhpi %{_libdir}/libopen*.so.* @@ -210,6 +209,7 @@ echo "Check OPENHPI_UNCONFIGURED in %{_sysconfdir}/openhpi/openhpi.conf" %{_initddir}/openhpid %endif %{_sbindir}/openhpid +%{_sbindir}/rcopenhpid %{_mandir}/man8/openhpid.8%{?ext_man} %changelog