Changed files:
apache-mod_python.spec -> 1.18
+%include /usr/lib/rpm/macros.python
%define mod_name python
Summary: A Python for the Apache Web server
Summary(pl): Python dla serwera WWW Apache
%define mod_name python
Summary: A Python for the Apache Web server
Summary(pl): Python dla serwera WWW Apache
License: distributable
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
License: distributable
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
+Group(es): Red/Servidores
+Group(fr): RĂ©seau/Serveurs
Group(pl): Sieciowe/Serwery
Group(pl): Sieciowe/Serwery
Source0: http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
Patch0: apache-mod_python-shared.patch
Patch1: apache-mod_python-DESTDIR.patch
Source0: http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
Patch0: apache-mod_python-shared.patch
Patch1: apache-mod_python-DESTDIR.patch
%requires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%requires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define apache_moddir %(/usr/sbin/apxs -q LIBEXECDIR)
-
-%include /usr/lib/rpm/macros.python
+%define apache_moddir %(/usr/sbin/apxs -q LIBEXECDIR)
%description
mod_python allows embedding Python within the Apache Web server for a
%description
mod_python allows embedding Python within the Apache Web server for a
autoconf
# new apache needs it
autoconf
# new apache needs it
+CFLAGS="-DEAPI %{rpmcflags}"
%configure \
--with-apxs=/usr/sbin/apxs
%configure \
--with-apxs=/usr/sbin/apxs