template-specs: template.spec - initscript deps

glen glen at pld-linux.org
Wed Dec 2 11:32:39 CET 2009


Author: glen                         Date: Wed Dec  2 10:32:39 2009 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- initscript deps

---- Files affected:
template-specs:
   template.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: template-specs/template.spec
diff -u template-specs/template.spec:1.71 template-specs/template.spec:1.72
--- template-specs/template.spec:1.71	Mon Oct  6 08:16:41 2008
+++ template-specs/template.spec	Wed Dec  2 11:32:34 2009
@@ -20,6 +20,7 @@
 %if %{with initscript}
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 %endif
 #BuildRequires:	-
 #BuildRequires:	autoconf
@@ -128,6 +129,9 @@
 rm -rf $RPM_BUILD_ROOT
 # create directories if necessary
 #install -d $RPM_BUILD_ROOT
+%if %{with initscript}
+install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
+%endif
 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
@@ -200,6 +204,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2009/12/02 10:32:34  glen
+- initscript deps
+
 Revision 1.71  2008/10/06 06:16:41  glen
 - no need for dot in find
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/template.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list