X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-mod_python.git;a=blobdiff_plain;f=apache-mod_python.spec;h=bf59fa2a3cc82884d203a6268cb292b3069ec366;hp=a974717cf0e3ea43c13e807ba066fd779592dce3;hb=f661901b021ec80a9872576f38adfa0670b78d9e;hpb=8cca102a4cfbd5811a1af5ef740e2a5e5fd749b9 diff --git a/apache-mod_python.spec b/apache-mod_python.spec index a974717..bf59fa2 100644 --- a/apache-mod_python.spec +++ b/apache-mod_python.spec @@ -3,7 +3,7 @@ Summary: A Python for the Apache Web server Summary(pl): Python dla serwera WWW Apache Name: apache-mod_%{mod_name} Version: 2.7.6 -Release: 2 +Release: 4 License: distributable Group: Networking/Daemons Group(de): Netzwerkwesen/Server @@ -12,13 +12,13 @@ Source0: http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz Patch0: apache-mod_python-shared.patch Patch1: apache-mod_python-DESTDIR.patch URL: http://www.modpython.org/ -Requires: apache -%requires_eq python BuildRequires: autoconf BuildRequires: apache BuildRequires: apache-devel -BuildRequires: python-devel +BuildRequires: python-devel >= 2.2 BuildRequires: rpm-pythonprov +Requires: apache +%requires_eq python BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define apache_moddir %(/usr/sbin/apxs -q LIBEXECDIR) @@ -50,7 +50,7 @@ autoconf # new apache needs it CFLAGS=-DEAPI %configure \ - --with-apxs=/usr/sbin/apxs + --with-apxs=/usr/sbin/apxs %{__make} dso @@ -81,7 +81,7 @@ fi %files %defattr(644,root,root,755) -%doc doc/* +%doc doc-html/* %doc {README,COPYRIGHT,NEWS,CREDITS}.gz %attr(755,root,root) %{apache_moddir}/* %{py_sitedir}/mod_%{mod_name}