git://git.jankratochvil.net
/
udpgate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PID is now also tried to be stored to: /tmp
[udpgate.git]
/
udpgate.spec.in
diff --git
a/udpgate.spec.in
b/udpgate.spec.in
index
43a5d26
..
2b33d9a
100644
(file)
--- 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
rm -rf $RPM_BUILD_ROOT
%post
-%{_bindir}/@PACKAGE@ --text --startup-on
+%{_bindir}/@PACKAGE@ --text --startup-on
|| true
%preun
%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@.*
%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
# %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@
%{_bindir}/@PACKAGE@
%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo