- need rebuilt rpm (with new macros.pld) to build these
Changed files:
crossfire.spec -> 1.6
rm -rf $RPM_BUILD_ROOT
%post
-/sbin/chkconfig --add crossfire
-if [ -r /var/lock/subsys/crossfire ]; then
- /etc/rc.d/init.d/crossfire restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/crossfire start\" to start Crossfire server."
-fi
+DESC="Crossfire server"; %chkconfig_add
%preun
-if [ "$1" = "0" ]; then
- if [ -r /var/lock/subsys/crossfire ]; then
- /etc/rc.d/init.d/crossfire stop >&2
- fi
- /sbin/chkconfig --del crossfire
-fi
-
-
-
+%chkconfig_del
%files
%defattr(644,root,root,755)