X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-mod_python.git;a=blobdiff_plain;f=apache-mod_python.spec;h=fadd099f5995861d032c0edf983329fd9038d8ed;hp=4b9636c57d557bcd06c07b11f4b08bd39ed16d08;hb=496ae653acce6a95a5f914ba7537005c87471cb1;hpb=dbc6fba505230b49e49cac7fb151b1f8b0d4955a diff --git a/apache-mod_python.spec b/apache-mod_python.spec index 4b9636c..fadd099 100644 --- a/apache-mod_python.spec +++ b/apache-mod_python.spec @@ -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}