rpms/python-beaker/devel python-beaker.spec,1.18,1.19

Kyle VanderBeek kylev at fedoraproject.org
Mon Jun 28 02:08:23 UTC 2010


Author: kylev

Update of /cvs/pkgs/rpms/python-beaker/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22157

Modified Files:
	python-beaker.spec 
Log Message:
Use the standard python3 conditionals


Index: python-beaker.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-beaker/devel/python-beaker.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- python-beaker.spec	6 May 2010 18:31:54 -0000	1.18
+++ python-beaker.spec	28 Jun 2010 02:08:23 -0000	1.19
@@ -1,10 +1,12 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %global with_python3 1
+%else
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name: python-beaker
 Version: 1.5.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: WSGI middleware layer to provide sessions
 
 Group: Development/Languages



More information about the scm-commits mailing list