[deltarpm] Disable Python 3 support, since it is quite broken.

Richard W.M. Jones rjones at fedoraproject.org
Tue Jan 18 14:51:41 UTC 2011


commit ed9a7fa440aa7caa3ef21cc37393e91304e3fd79
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jan 18 14:51:28 2011 +0000

    Disable Python 3 support, since it is quite broken.

 deltarpm.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/deltarpm.spec b/deltarpm.spec
index d4f26d2..6b13a53 100644
--- a/deltarpm.spec
+++ b/deltarpm.spec
@@ -1,13 +1,15 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-%if 0%{?fedora} > 12 || 0%{?rhel} > 5
+# Disabled at this suggestion:
+# http://lists.fedoraproject.org/pipermail/devel/2011-January/147920.html
+%if 0%{?fedora} > 15 || 0%{?rhel} > 5
 %global with_python3 1
 %endif
 
 Summary: Create deltas between rpms
 Name: deltarpm
 Version: 3.6
-Release: 0.1.20101230git%{?dist}
+Release: 0.3.20101230git%{?dist}
 License: BSD
 Group: System Environment/Base
 URL: http://gitorious.org/deltarpm/deltarpm
@@ -96,7 +98,7 @@ This package contains python bindings for deltarpm.
 %if 0%{?with_python3}
 # nothing to do
 %else
-rm -rf %{buildroot}%{_libdir}/python3.1
+rm -rf %{buildroot}%{_libdir}/python3.2*
 %endif
 
 
@@ -144,6 +146,9 @@ rm -rf %{buildroot}%{_libdir}/python3.1
 %endif
 
 %changelog
+* Tue Jan 18 2011 - Richard W.M. Jones <rjones at redhat.com> - 3.6-0.3.20101230git
+- Disable Python 3 support, since it is quite broken.
+
 * Thu Dec 30 2010 Jonathan Dieter <jdieter at lesbg.com> - 3.6-0.1.20101230git
 - Update to current git
 - Temporary extra verbosity patch


More information about the scm-commits mailing list