]> git.pld-linux.org Git - packages/cvsweb.git/commitdiff
- list incompatible apaches
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 9 Jan 2006 23:53:05 +0000 (23:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add webapp triggers

Changed files:
    cvsweb.spec -> 1.35

cvsweb.spec

index 70313060c40ee74e9e1e2ac1ebfe2a5a05f66a8c..7bb6a081a08d45628e9dae769b1644f21e6882e8 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Visual (www) interface to explore a CVS repository
 Summary(pl):   Wizualny (WWW) interfejs do przegl±dania repozytorium CVS
 Name:          cvsweb
 Version:       3.0.6
-Release:       0.6
+Release:       0.7
 Epoch:         1
 License:       BSD
 Group:         Development/Tools
@@ -20,6 +20,8 @@ Requires:     rcs
 # for /etc/mime.types
 Requires:      mailcap
 Requires:      webapps
+Conflicts:     apache-base < 2.2.0-8
+Conflicts:     apache1 < 1.3.34-6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -84,6 +86,18 @@ fi
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%triggerin -- apache1
+%webapp_register apache %{_webapp}
+
+%triggerun -- apache1
+%webapp_unregister apache %{_webapp}
+
+%triggerin -- apache >= 2.0.0
+%webapp_register httpd %{_webapp}
+
+%triggerun -- apache >= 2.0.0
+%webapp_unregister httpd %{_webapp}
+
 %triggerpostun -- %{name} < 1:3.0.6-0.2
 # rescue app config
 if [ -f /etc/%{name}/cvsweb.conf.rpmsave ]; then
This page took 0.0796 seconds and 4 git commands to generate.