rpms/python/F-13 python.spec,1.177,1.178
Dennis Gilmore
ausil at fedoraproject.org
Mon Apr 26 18:56:39 UTC 2010
Author: ausil
Update of /cvs/extras/rpms/python/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv10389
Modified Files:
python.spec
Log Message:
disable valgrind support on sparc arches
Index: python.spec
===================================================================
RCS file: /cvs/extras/rpms/python/F-13/python.spec,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -p -r1.177 -r1.178
--- python.spec 1 Apr 2010 02:49:10 -0000 1.177
+++ python.spec 26 Apr 2010 18:56:39 -0000 1.178
@@ -36,6 +36,13 @@
%global with_systemtap 1
+# sparc arches dont have valgrind so we need to disable its support on them
+%ifarch %{sparc}
+%global with_valgrind 0
+%else
+%global with_valgrind 1
+%endif
+
# Some of the files below /usr/lib/pythonMAJOR.MINOR/test (e.g. bad_coding.py)
# are deliberately invalid, leading to SyntaxError exceptions if they get
# byte-compiled.
@@ -52,7 +59,7 @@
Summary: An interpreted, interactive, object-oriented programming language
Name: %{python}
Version: 2.6.4
-Release: 25%{?dist}
+Release: 26%{?dist}
License: Python
Group: Development/Languages
Provides: python-abi = %{pybasever}
@@ -318,7 +325,9 @@ BuildRequires: tix-devel bzip2-devel sql
BuildRequires: autoconf
BuildRequires: db4-devel >= 4.8
BuildRequires: libffi-devel
+%if 0%{?with_valgrind}
BuildRequires: valgrind-devel
+%endif
%if 0%{?with_systemtap}
BuildRequires: systemtap-sdt-devel
@@ -524,12 +533,14 @@ autoheader
--enable-unicode=%{unicode} \
--enable-shared \
--with-system-ffi \
- --with-system-expat \
+%if 0%{?with_valgrind}
+ --with-valgrind \
+%endif
%if 0%{?with_systemtap}
--with-dtrace \
--with-tapset-install-dir=%{tapsetdir} \
%endif
- --with-valgrind
+ --with-system-expat
make OPT="$CFLAGS" %{?_smp_mflags}
LD_LIBRARY_PATH="$topdir" $topdir/python Tools/scripts/pathfix.py -i "%{_bindir}/env python%{pybasever}" .
@@ -953,6 +964,9 @@ rm -fr %{buildroot}
# payload file would be unpackaged)
%changelog
+* Mon Apr 26 2010 Dennis Gilmore <dennis at ausil.us> - 2.6.4-26
+- disable --with-valgrind on sparc arches
+
* Wed Mar 31 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.5-25
- update python-gdb.py from v4 to v5 (improving performance and stability,
adding commands)
More information about the scm-commits
mailing list