[master] d75d6d2 Don't require initscripts on SUSE

Tollef Fog Heen tfheen at varnish-cache.org
Fri Apr 15 15:15:20 CEST 2011


commit d75d6d2b8c8725b965216d78eec01afe5035432b
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Fri Apr 15 15:09:17 2011 +0200

    Don't require initscripts on SUSE
    
    Fixes #825

diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 13e628e..46072af 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -20,7 +20,9 @@ Requires(pre): shadow-utils
 Requires(post): /sbin/chkconfig, /usr/bin/uuidgen
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
+%if %{undefined suse_version}
 Requires(preun): initscripts
+%endif
 
 # Varnish actually needs gcc installed to work. It uses the C compiler 
 # at runtime to compile the VCL configuration files. This is by design.



More information about the varnish-commit mailing list