[bpython] rebuild with python3.2

tomspur tomspur at fedoraproject.org
Wed Aug 25 16:08:41 UTC 2010


commit 64431f3c1e1ff635a795c318b0470a7e0ae48992
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Wed Aug 25 18:08:28 2010 +0200

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

 bpython.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/bpython.spec b/bpython.spec
index 545a432..939d083 100644
--- a/bpython.spec
+++ b/bpython.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:          bpython
 Summary:       Fancy curses interface to the Python interactive interpreter
 Version:       0.9.6.2
-Release:       6%{?dist}
+Release:       7%{?dist}
 URL:           http://www.bpython-interpreter.org/
 Group:         Development/Libraries
 License:       MIT
@@ -125,6 +127,10 @@ popd
 %endif # with_python3
 
 %changelog
+* Wed Aug 25 2010 Thomas Spura <tomspur at fedoraproject.org> - 0.9.6.2-7
+- rebuild with python3.2
+  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.6.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list