packages: apache-mod_wsgi/apache-mod_wsgi.spec, apache-mod_wsgi/apache-mod_...

wiget wiget at pld-linux.org
Thu Mar 11 13:06:20 CET 2010


Author: wiget                        Date: Thu Mar 11 12:06:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.2
- added python3 bcond

---- Files affected:
packages/apache-mod_wsgi:
   apache-mod_wsgi.spec (1.9 -> 1.10) , apache-mod_wsgi-apache-version.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/apache-mod_wsgi/apache-mod_wsgi.spec
diff -u packages/apache-mod_wsgi/apache-mod_wsgi.spec:1.9 packages/apache-mod_wsgi/apache-mod_wsgi.spec:1.10
--- packages/apache-mod_wsgi/apache-mod_wsgi.spec:1.9	Sat May 23 21:17:48 2009
+++ packages/apache-mod_wsgi/apache-mod_wsgi.spec	Thu Mar 11 13:06:14 2010
@@ -1,24 +1,29 @@
 # $Revision$, $Date$
+%bcond_with	python3
+#
 %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:	2.5
+Version:	3.2
 Release:	1
 License:	Apache
 Group:		Networking/Daemons
 Source0:	http://modwsgi.googlecode.com/files/mod_%{mod_name}-%{version}.tar.gz
-# Source0-md5:	43ad11c477799e2f780c50197c420afd
+# Source0-md5:	7e4f7f443f562f21f61d1bd06defa1d8
 Source1:	%{name}.conf
-Patch0:		%{name}-apache-version.patch
 URL:		http://code.google.com/p/modwsgi/
 BuildRequires:	%{apxs}
 BuildRequires:	apache-devel >= 2.0.52-7
 BuildRequires:	apr-devel >= 1:1.0.0
 BuildRequires:	autoconf
 BuildRequires:	automake
+%if %{with python3}
+BuildRequires:	python3-devel
+%else
 BuildRequires:	python-devel >= 2.3
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	apache(modules-api) = %apache_modules_api
 Requires:	apr >= 1:1.0.0
@@ -44,14 +49,18 @@
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
-%patch0 -p1
 
 %build
 %{__aclocal}
 %{__autoconf}
-HTTPD_VERSION=$(rpm -q --qf '%{V}' apache-devel); export HTTPD_VERSION
+%if %{with python3}
+PYTHONBIN=%{__python3}
+%else
+PYTHONBIN=%{__python}
+%endif
 %configure \
-	--with-apxs=%{apxs}
+	--with-apxs=%{apxs} \
+	--with-python=$PYTHONBIN
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -85,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2010/03/11 12:06:14  wiget
+- up to 3.2
+- added python3 bcond
+
 Revision 1.9  2009/05/23 19:17:48  wiget
 - updated to 2.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_wsgi/apache-mod_wsgi.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list