]> git.pld-linux.org Git - packages/apache-mod_wsgi.git/commitdiff
up to 3.4, adds WSGIEnableSendfile and more improvements auto/th/apache-mod_wsgi-3.4-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 6 Feb 2013 10:14:18 +0000 (12:14 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 6 Feb 2013 10:16:36 +0000 (12:16 +0200)
apache-mod_wsgi.spec

index 6fe14d4b278d6a086cc743faa83bd35b5253f4bf..b4fda9a13a49e43c278a562452c5551ff0eb5f4e 100644 (file)
@@ -1,16 +1,21 @@
-%bcond_with    python3
+# TODO:
+# - build py2 and py3 variants both?
+
 #
+# Conditional build:
+%bcond_with    python3 # use CPython 3.x
+
 %define                mod_name        wsgi
 %define        apxs            /usr/sbin/apxs
 Summary:       WSGI interface for the Apache Web server
 Summary(pl.UTF-8):     Interfejs WSGI dla serwera WWW Apache
 Name:          apache-mod_%{mod_name}
-Version:       3.3
+Version:       3.4
 Release:       1
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://modwsgi.googlecode.com/files/mod_%{mod_name}-%{version}.tar.gz
-# Source0-md5: 6172bb2bbabcd0c25867c2bc06f99dbb
+# Source0-md5: f42d69190ea0c337ef259cbe8d94d985
 Source1:       %{name}.conf
 URL:           http://code.google.com/p/modwsgi/
 BuildRequires: %{apxs}
@@ -24,7 +29,7 @@ BuildRequires:        python3-devel
 BuildRequires: python-devel >= 2.3
 %endif
 BuildRequires: rpmbuild(macros) >= 1.268
-Requires:      apache(modules-api) = %apache_modules_api
+Requires:      apache(modules-api) = %{apache_modules_api}
 Requires:      apr >= 1:1.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,11 +69,10 @@ PYTHONBIN=%{__python}
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{apachelibdir},%{apacheconfdir}}
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/61_mod_wsgi.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/61_mod_wsgi.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.127721 seconds and 4 git commands to generate.