[python-pygments] rebuild with python3.2

tomspur tomspur at fedoraproject.org
Wed Aug 25 15:57:09 UTC 2010


commit 5a670f80e057b72d54c93a5e6ef3b2aadfcd8818
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Wed Aug 25 17:56:53 2010 +0200

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

 python-pygments.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/python-pygments.spec b/python-pygments.spec
index 5b7d5d5..539a028 100644
--- a/python-pygments.spec
+++ b/python-pygments.spec
@@ -1,11 +1,14 @@
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %global with_python3 1
+%else
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+%endif
 
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %global upstream_name Pygments
 
 Name:           python-pygments
 Version:        1.3.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A syntax highlighting engine written in Python
 
 Group:          Development/Libraries
@@ -133,6 +136,11 @@ popd
 
 
 %changelog
+* Wed Aug 25 2010 Thomas Spura <tomspur at fedoraproject.org> - 1.3.1-7
+- update to most recent python 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> - 1.3.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list