]> git.pld-linux.org Git - packages/dgee.git/commitdiff
- TODO
authorradzio <radzio@pld-linux.org>
Sun, 7 Dec 2003 20:45:11 +0000 (20:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Requires: goldwater
- Requires(post,preun): /sbin/chkconfig
- Requires(post,postun): /sbin/ldconfig
- do chkconfig in post preun section

Changed files:
    dgee.spec -> 1.8

dgee.spec

index a11d30de3684ad6a16a2e2a5f3c3e48681aabfa9..f8ed9cfd71c25bf0d8565ccac529262772ac37a1 100644 (file)
--- a/dgee.spec
+++ b/dgee.spec
@@ -1,3 +1,9 @@
+#
+# TODO: 
+#  --without apache1 (default) should build mod_dgee.so for 
+#  apache2 - it doesn't
+# 
+
 %bcond_with    apache1
 %define         apxs   /usr/sbin/apxs
 %define                _rel    2
@@ -22,7 +28,10 @@ BuildRequires:       phlib-devel => 1.20
 BuildRequires: pnet-devel => 0.6.0-2
 BuildRequires: %{apxs}
 Requires:      apache
+Requires:      goldwater
 Requires(post,preun):  %{apxs}
+Requires(post,preun):   /sbin/chkconfig
+Requires(post,postun):  /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -101,6 +110,7 @@ if [ -f /var/lock/subsys/httpd ]; then
 fi
 
 /sbin/ldconfig
+/sbin/chkconfig --add dgee
 
 %preun
 if [ "$1" = "0" ]; then
@@ -115,6 +125,7 @@ if [ "$1" = "0" ]; then
                 /etc/rc.d/init.d/httpd restart 1>&2
         fi
 fi
+/sbin/chkconfig --del dgee
 
 %postun
 /sbin/ldconfig
This page took 0.085623 seconds and 4 git commands to generate.