]> git.pld-linux.org Git - packages/apache1-mod_snake.git/commitdiff
- s/apache/apache1/; waiting for server-side cp; broken anyway
authorradek <radek@pld-linux.org>
Sun, 19 Sep 2004 18:55:15 +0000 (18:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_snake.spec -> 1.15

apache1-mod_snake.spec

index b5c3f38666fb5651f4aa8d9aefe84f23e4ce2d50..f1e66e8fd16073020777815e4f33e9d26f990971 100644 (file)
@@ -1,20 +1,22 @@
 %define                mod_name        snake
-%define        apxs            /usr/sbin/apxs
+%define        apxs            /usr/sbin/apxs1
 Summary:       An Apache module to allow for Python plugins and control
 Summary(pl):   Modu³ do Apache pozwalaj±cy na kontrolê i wtyczki Pythona
-Name:          apache-mod_%{mod_name}
+Name:          apache1-mod_%{mod_name}
 Version:       0.5.0
-Release:       2
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/mod%{mod_name}/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: 7c043871a66a8579c6fec561c5d6cb84
+Patch0:                %{name}-dumb_acam.patch
 URL:           http://modsnake.sourceforge.net/
 BuildRequires: %{apxs}
-BuildRequires: apache-devel >= 1.3.15
+BuildRequires: apache1-devel >= 1.3.15
 BuildRequires: python-devel >= 1.5
 Requires(post,preun):  %{apxs}
-Requires:      apache
+Requires:      apache1 >= 1.3.15
+Obsoletes:     apache-mod_%{mod_name} <= %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
@@ -35,6 +37,7 @@ kontrolowa
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
+%patch0 -p0
 
 %build
 %configure2_13 \
@@ -53,15 +56,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-if [ -f /var/lock/subsys/httpd ]; then
-       /etc/rc.d/init.d/httpd restart 1>&2
+if [ -f /var/lock/subsys/apache ]; then
+       /etc/rc.d/init.d/apache restart 1>&2
 fi
 
 %preun
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-       if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
+       if [ -f /var/lock/subsys/apache ]; then
+               /etc/rc.d/init.d/apache restart 1>&2
        fi
 fi
 
This page took 0.075498 seconds and 4 git commands to generate.