X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=udpgate.spec.in;h=2b33d9af30161f56573088f87c4212ee7400a124;hb=841083f5a7a6501423467275c5086e8d3a648621;hp=43a5d26c8a1f518d79f524f13cb30a10147490dd;hpb=6ec78e4f1cefc24fa07010d1643839add004f021;p=udpgate.git diff --git a/udpgate.spec.in b/udpgate.spec.in index 43a5d26..2b33d9a 100644 --- a/udpgate.spec.in +++ b/udpgate.spec.in @@ -60,16 +60,18 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip rm -rf $RPM_BUILD_ROOT %post -%{_bindir}/@PACKAGE@ --text --startup-on +%{_bindir}/@PACKAGE@ --text --startup-on || true %preun -%{_bindir}/@PACKAGE@ --text --startup-off +%{_bindir}/@PACKAGE@ --text --startup-off || true %files %defattr(-,root,root) %doc README NEWS AUTHORS %attr(644,root,root) %{_mandir}/man?/@PACKAGE@.* -%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/@PACKAGE@ +# Do not: /etc/rc.d/init.d/... +# to comply with http://www.linuxbase.org/spec/booksets/LSB-Core/LSB-Core.html#INITSRCINSTRM +%attr(755,root,root) %{_sysconfdir}/init.d/@PACKAGE@ # %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@ %{_bindir}/@PACKAGE@ %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo