]> git.pld-linux.org Git - packages/webapps.git/commitdiff
- warn user having partial upgrade that he's doomed; rel 4 auto/ac/webapps-0_2-4
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Dec 2005 09:18:37 +0000 (09:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    webapps.spec -> 1.13

webapps.spec

index 16c16d035e46bea99a715e614babc4bb036069bd..7afc4bd2c424c4cc957b5e84063a9bbbf383966d 100644 (file)
@@ -2,7 +2,7 @@ Summary:        webapps framework
 Summary(pl):   Szkielet dla aplikacji WWW
 Name:          webapps
 Version:       0.2
-Release:       3
+Release:       4
 License:       GPL
 Group:         Applications/WWW
 Source0:       %{name}.sh
@@ -34,6 +34,16 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
 install %{SOURCE0} $RPM_BUILD_ROOT%{_sbindir}/webapp
 
+%triggerin -- apache < 2.0.55-2.2
+if [ -d /etc/httpd ] && [ ! -d /etc/httpd/webapps.d ]; then
+cat >&2 << 'EOF'
+IMPORTANT:
+ Your Apache 2.x is not webapps compatible!
+ please upgrade your Apache 2.x installation to at least apache-2.0.55-2.2!
+ (apache-2.0.55-3.2 should be in ac-ready)
+EOF
+fi
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.062954 seconds and 4 git commands to generate.