[python3/f17] 3.2.3-7.1: use macro for power64 (rhbz#834653)
dmalcolm
dmalcolm at fedoraproject.org
Fri Jun 22 17:49:35 UTC 2012
commit a2ca9a32d2d410e59f393fd2768e218f06d6277e
Author: David Malcolm <dmalcolm at redhat.com>
Date: Fri Jun 22 13:43:37 2012 -0400
3.2.3-7.1: use macro for power64 (rhbz#834653)
python3.spec | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index c33e28b..8e37194 100644
--- a/python3.spec
+++ b/python3.spec
@@ -53,7 +53,7 @@
%global with_systemtap 1
# some arches don't have valgrind so we need to disable its support on them
-%ifarch %{ix86} x86_64 ppc ppc64 s390x
+%ifarch %{ix86} x86_64 ppc %{power64} s390x
%global with_valgrind 1
%else
%global with_valgrind 0
@@ -122,7 +122,9 @@
Summary: Version 3 of the Python programming language aka Python 3000
Name: python3
Version: %{pybasever}.3
-Release: 7%{?dist}
+# For Fedora 17 maintenance, keep the "Release" of the form 7.n so that
+# it is < that of Fedora 18:
+Release: 7.1%{?dist}
License: Python
Group: Development/Languages
@@ -634,7 +636,7 @@ done
%patch129 -p1
-%ifarch ppc ppc64
+%ifarch ppc %{power64}
%patch131 -p1
%endif
@@ -658,7 +660,7 @@ done
%patch147 -p1
# 00148: upstream as of Python 3.2.3
# 00149: upstream as of Python 3.2.3
-%ifarch ppc ppc64
+%ifarch ppc %{power64}
%patch150 -p1
%endif
# 00151: not for python3
@@ -780,7 +782,7 @@ BuildPython() {
BuildPython debug \
python-debug \
python%{pybasever}-debug \
-%ifarch %{ix86} x86_64 ppc ppc64
+%ifarch %{ix86} x86_64 ppc %{power64}
"--with-pydebug --with-tsc --with-count-allocs --with-call-profile" \
%else
"--with-pydebug --with-count-allocs --with-call-profile" \
@@ -895,7 +897,7 @@ install -d -m 0755 %{buildroot}/usr/lib/python%{pybasever}/site-packages/__pycac
%global _pyconfig32_h pyconfig-32.h
%global _pyconfig64_h pyconfig-64.h
-%ifarch ppc64 s390x x86_64 ia64 alpha sparc64
+%ifarch %{power64} s390x x86_64 ia64 alpha sparc64
%global _pyconfig_h %{_pyconfig64_h}
%else
%global _pyconfig_h %{_pyconfig32_h}
@@ -1054,7 +1056,7 @@ ln -s \
# Install a tapset for this libpython into tapsetdir, fixing up the path to the
# library:
mkdir -p %{buildroot}%{tapsetdir}
-%ifarch ppc64 s390x x86_64 ia64 alpha sparc64
+%ifarch %{power64} s390x x86_64 ia64 alpha sparc64
%global libpython_stp_optimized libpython%{pybasever}-64.stp
%global libpython_stp_debug libpython%{pybasever}-debug-64.stp
%else
@@ -1493,6 +1495,9 @@ rm -fr %{buildroot}
# ======================================================
%changelog
+* Fri Jun 22 2012 David Malcolm <dmalcolm at redhat.com> - 3.2.3-7.1
+- use macro for power64 (rhbz#834653)
+
* Wed May 30 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 3.2.3-7
- fix tapset for debug build
More information about the scm-commits
mailing list