]> git.pld-linux.org Git - packages/apache-mod_python.git/blobdiff - apache-mod_python.spec
- build with apache 2.4
[packages/apache-mod_python.git] / apache-mod_python.spec
index 2a27e9521e684ac8f0b8d7d865b56bb01fc1ce71..2ae416cb1920bbb86d1594680df7a8099601b24a 100644 (file)
@@ -19,16 +19,17 @@ Summary(sl.UTF-8):  Vključeni pythonski tolmač za spletni strežnik Apache
 Summary(sv.UTF-8):     En inbyggd Python-interpretator för webbservern Apache
 Name:          apache-mod_%{mod_name}
 Version:       3.3.1
-Release:       3
-License:       Apache Group License
-Group:         Networking/Daemons
+Release:       17
+License:       Apache
+Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz
 # Source0-md5: a3b0150176b726bd2833dac3a7837dc5
 Source1:       %{name}.conf
 Patch0:                %{name}-httpd-not-needed.patch
 Patch1:                %{name}-ldflags.patch
+Patch2:                %{name}-apr_brigade_sentinel.patch
+Patch3:                %{name}-apache24.patch
 URL:           http://www.modpython.org/
-BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.0.52-7
 BuildRequires: apr-devel >= 1:1.0.0
 BuildRequires: autoconf
@@ -127,6 +128,8 @@ prestandan jämfört med den traditionella CGI-metoden.
 %setup -q -n mod_%{mod_name}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %{__aclocal}
@@ -163,5 +166,8 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{apachelibdir}/*.so
 %dir %{py_sitedir}/mod_%{mod_name}
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/mod_%{mod_name}-*.egg-info
+%endif
 %attr(755,root,root) %{py_sitedir}/mod_%{mod_name}/*.so
 %{py_sitedir}/mod_%{mod_name}/*.py[co]
This page took 0.048325 seconds and 4 git commands to generate.