]> git.pld-linux.org Git - packages/apache-mod_python.git/blobdiff - apache-mod_python.spec
- added patch that allow to compile it (LONG -> PY_LONG),
[packages/apache-mod_python.git] / apache-mod_python.spec
index 4b9636c57d557bcd06c07b11f4b08bd39ed16d08..fadd099f5995861d032c0edf983329fd9038d8ed 100644 (file)
@@ -21,7 +21,7 @@ Summary(sl):  Vklju
 Summary(sv):   En inbyggd Python-interpretator för webbservern Apache
 Name:          apache-mod_%{mod_name}
 Version:       3.0.3
-Release:       1
+Release:       2
 License:       Apache Group License
 Group:         Networking/Daemons
 Source0:       http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
@@ -29,14 +29,15 @@ Source0:    http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
 Source1:       %{name}.conf
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-no-compile.patch
+Patch2:                %{name}-LONG.patch
 URL:           http://www.modpython.org/
+BuildRequires: %{apxs}
+BuildRequires: apache-devel >= 2.0.44
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: apache-devel >= 2.0.44
 BuildRequires: python-devel >= 2.2
 BuildRequires: rpm-pythonprov
-BuildRequires: %{apxs}
-Prereq:                %{_sbindir}/apxs
+Requires(post,preun):  %{apxs}
 Requires:      apache >= 2.0.44
 %pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -122,6 +123,7 @@ prestandan j
 %setup -q -n mod_%{mod_name}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
This page took 0.026536 seconds and 4 git commands to generate.