SPECS: dents.spec - use %serivce, kill PreReq
darekr
darekr at pld-linux.org
Fri Aug 25 00:27:26 CEST 2006
Author: darekr Date: Thu Aug 24 22:27:26 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %serivce, kill PreReq
---- Files affected:
SPECS:
dents.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/dents.spec
diff -u SPECS/dents.spec:1.14 SPECS/dents.spec:1.15
--- SPECS/dents.spec:1.14 Mon Jun 23 11:28:38 2003
+++ SPECS/dents.spec Fri Aug 25 00:27:21 2006
@@ -12,7 +12,7 @@
# Source0-md5: b7ffc0305143731b70934240acd426b6
URL: http://sourceforge.net/projects/dents/
BuildRequires: glib-devel
-PreReq: rc-scripts
+Requires: rc-scripts
Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,17 +40,11 @@
%post
/sbin/chkconfig --add dents
-if [ -f /var/lock/subsys/dents ]; then
- /etc/rc.d/init.d/dents restart 1>&2
-else
- echo "Run \"/etc/rc.d/init.d/dents start\" to start dents DNS server."
-fi
+%service dents restart
%preun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/dents ]; then
- /etc/rc.d/init.d/dents stop 1>&2
- fi
+ %service dents stop
/sbin/chkconfig --del dents
fi
@@ -66,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2006/08/24 22:27:21 darekr
+- use %serivce, kill PreReq
+
Revision 1.14 2003/06/23 09:28:38 qboosh
- more specific Requires
@@ -79,14 +76,14 @@
- massive attack s/pld.org.pl/pld-linux.org/
Revision 1.10 2002/04/25 16:10:24 arturs
-fixed a small typo
+- fixed a small typo
Revision 1.9 2002/02/22 23:28:47 kloczek
- removed all Group fields translations (our rpm now can handle translating
Group field using gettext).
Revision 1.8 2002/01/18 02:12:40 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.7 2001/11/14 11:43:48 filon
- changed to %%%configure2_13, to make it build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dents.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list