rpms/xpilot-ng/FC-5 xpilot-ng.spec,1.5,1.6

Michael Thomas (wart) fedora-extras-commits at redhat.com
Tue Jul 18 16:29:08 UTC 2006


Author: wart

Update of /cvs/extras/rpms/xpilot-ng/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1374

Modified Files:
	xpilot-ng.spec 
Log Message:
- Don't restart the server in %postun unless it was already running.
- Use the new xpilot user in the init.d script
- Add info on firewall configuration in the sysconfig script
- Explicitly disable reporting to the meta server (BZ #199164)




Index: xpilot-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/xpilot-ng/FC-5/xpilot-ng.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xpilot-ng.spec	11 Jul 2006 17:37:46 -0000	1.5
+++ xpilot-ng.spec	18 Jul 2006 16:29:08 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           xpilot-ng
 Version:        4.7.2
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Multiplayer space arcade game
 
 Group:          Amusements/Games
@@ -113,7 +113,7 @@
 
 %postun server
 if [ "$1" -ge "1" ]; then
-    /sbin/service xpilot-ng-server restart >/dev/null 2>&1
+    /sbin/service xpilot-ng-server condrestart >/dev/null 2>&1
 fi
 test "$1" != 0 || /usr/sbin/fedora-userdel  xpilot &>/dev/null || :
 test "$1" != 0 || /usr/sbin/fedora-groupdel xpilot &>/dev/null || :
@@ -152,7 +152,7 @@
 %{_datadir}/%{name}/mapconvert.py
 %{_datadir}/%{name}/maps
 %dir %{_sysconfdir}/%{name}
-%config(noreplace) %attr(0600,games,games) %{_sysconfdir}/%{name}/password.txt
+%config(noreplace) %attr(0600,xpilot,xpilot) %{_sysconfdir}/%{name}/password.txt
 %config(noreplace) %{_sysconfdir}/%{name}/defaults.txt
 %{_mandir}/man6/xpilot-ng-server.6.gz
 %{_mandir}/man6/xpilot-ng-xp-mapedit.6.gz
@@ -162,6 +162,12 @@
 %ghost %{_datadir}/%{name}/mapconvert.pyo
 
 %changelog
+* Mon Jul 17 2006 Wart <wart at kobold.org> 4.7.2-9
+- Use the new xpilot user in the init.d script
+- Add info on firewall configuration in the sysconfig script
+- Explicitly disable reporting to the meta server (BZ #199164)
+- Don't restart the server in %postun unless it was already running.
+
 * Tue Jul 11 2006 Wart <wart at kobold.org> 4.7.2-8
 - Fix Requires: for the -server subpackage
 




More information about the fedora-extras-commits mailing list