SPECS: webapps.spec - warn user having partial upgrade that he's d...

glen glen at pld-linux.org
Mon Dec 19 10:18:43 CET 2005


Author: glen                         Date: Mon Dec 19 09:18:43 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- warn user having partial upgrade that he's doomed; rel 4

---- Files affected:
SPECS:
   webapps.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/webapps.spec
diff -u SPECS/webapps.spec:1.12 SPECS/webapps.spec:1.13
--- SPECS/webapps.spec:1.12	Mon Dec 19 10:03:20 2005
+++ SPECS/webapps.spec	Mon Dec 19 10:18:37 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Szkielet dla aplikacji WWW
 Name:		webapps
 Version:	0.2
-Release:	3
+Release:	4
 License:	GPL
 Group:		Applications/WWW
 Source0:	%{name}.sh
@@ -35,6 +35,16 @@
 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
 
@@ -50,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/12/19 09:18:37  glen
+- warn user having partial upgrade that he's doomed; rel 4
+
 Revision 1.12  2005/12/19 09:03:20  glen
 - fixed wrong README; rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/webapps.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list