[python-ply] rebuild with python3.2

tomspur tomspur at fedoraproject.org
Wed Aug 25 15:39:42 UTC 2010


commit 74037c590c2e013f48647f5c7ea315b308597b3a
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Wed Aug 25 17:39:32 2010 +0200

    rebuild with python3.2
    
    http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html

 python-ply.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python-ply.spec b/python-ply.spec
index 2c7d5ab..8cc75d2 100644
--- a/python-ply.spec
+++ b/python-ply.spec
@@ -1,11 +1,13 @@
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %global with_python3 1
-
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+%endif
 
 Name:			python-ply
 Summary: 		Python Lex-Yacc
 Version:		3.3
-Release:		3%{?dist}
+Release:		4%{?dist}
 License:		BSD
 Group:			System Environment/Libraries
 URL:			http://www.dabeaz.com/ply/
@@ -113,6 +115,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif # with_python3
 
 %changelog
+* Wed Aug 25 2010 Thomas Spura <tomspur at fedoraproject.org> - 3.3-4
+- update to most recent python packaging guidelines
+- rebuild with python3.2
+  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 3.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list