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