SPECS: pld-builder.spec - fix chkconfig deps

glen glen at pld-linux.org
Thu Apr 20 19:14:46 CEST 2006


Author: glen                         Date: Thu Apr 20 17:14:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix chkconfig deps

---- Files affected:
SPECS:
   pld-builder.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/pld-builder.spec
diff -u SPECS/pld-builder.spec:1.23 SPECS/pld-builder.spec:1.24
--- SPECS/pld-builder.spec:1.23	Mon Apr  3 18:00:24 2006
+++ SPECS/pld-builder.spec	Thu Apr 20 19:14:41 2006
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
+%define		_snap	20051101
 Summary:	PLD RPM builder environment
 Summary(pl):	Środowisko budowniczego pakietów RPM dla PLD
 Name:		pld-builder
-%define		_snap	20051101
 Version:	0.0.%{_snap}
 Release:	0.14
 License:	GPL
@@ -13,7 +13,9 @@
 Source2:	%{name}.sysconfig
 URL:		http://cvs.pld-linux.org/cgi-bin/cvsweb/pld-builder.new/
 BuildRequires:	python
+Requires(post,preun):	/sbin/chkconfig
 Requires:	python-pld-builder = %{version}-%{release}
+Requires:	rc-scripts
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -113,8 +115,8 @@
 
 %preun
 if [ "$1" = "0" ]; then
-        %service %{name} stop
-        /sbin/chkconfig --del %{name}
+	%service %{name} stop
+	/sbin/chkconfig --del %{name}
 fi
 
 %files
@@ -156,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/04/20 17:14:41  glen
+- fix chkconfig deps
+
 Revision 1.23  2006/04/03 16:00:24  twittner
 - added initscript (template) for performing administrator's tasks
   for pld-builder such as mounting /proc in builder chroots,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pld-builder.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list