Summary(sl): Vkljuèeni pythonski tolmaè za spletni stre¾nik Apache
Summary(sv): En inbyggd Python-interpretator för webbservern Apache
Name: apache-mod_%{mod_name}
-Version: 3.1.4
-Release: 4
+Version: 3.2.10
+Release: 2
License: Apache Group License
Group: Networking/Daemons
Source0: http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz
-# Source0-md5: 607175958137b06bcda91110414c82a1
+# Source0-md5: cc6439f546a6e70cfff7ca51b8c62541
Source1: %{name}.conf
-Patch0: %{name}-lib64.patch
-Patch1: %{name}-apr-status-is-success.patch
-Patch2: %{name}-httpd-not-needed.patch
+Patch0: %{name}-httpd-not-needed.patch
+Patch1: %{name}-ldflags.patch
URL: http://www.modpython.org/
BuildRequires: %{apxs}
BuildRequires: apache-devel >= 2.0.52-7
%prep
%setup -q -n mod_%{mod_name}-%{version}
-%if "%{_libdir}" == "%{_prefix}/lib64"
-%patch0
-%endif
+%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%{__aclocal}
%post
%service -q httpd restart
-%preun
+%postun
if [ "$1" = "0" ]; then
%service -q httpd restart
fi