From 98a186a8f37d6b0f6fe392165a839398d5311f29 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Aug 15 2012 14:51:39 +0000 Subject: 3.8.0-2 --- diff --git a/valgrind.spec b/valgrind.spec index 7f3a302..75a6f65 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -1,7 +1,7 @@ Summary: Tool for finding memory management bugs in programs Name: valgrind Version: 3.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2 URL: http://www.valgrind.org/ @@ -175,6 +175,19 @@ popd rm -f $RPM_BUILD_ROOT%{_libdir}/valgrind/*.supp.in +%ifarch %{ix86} x86_64 +# To avoid multilib clashes in between i?86 and x86_64, +# tweak installed a little bit. +for i in HAVE_PTHREAD_CREATE_GLIBC_2_0 \ +%if 0%{?rhel} <= 5 + HAVE_BUILTIN_ATOMIC HAVE_BUILTIN_ATOMIC_CXX \ +%endif + ; do + sed -i -e 's,^\(#define '$i' 1\|/\* #undef '$i' \*/\)$,#ifdef __x86_64__\n# define '$i' 1\n#endif,' \ + $RPM_BUILD_ROOT%{_includedir}/valgrind/config.h +done +%endif + %check make %{?_smp_mflags} check || : echo ===============TESTING=================== @@ -206,6 +219,10 @@ echo ===============END TESTING=============== %endif %changelog +* Wed Aug 15 2012 Jakub Jelinek 3.8.0-2 +- tweak up to allow simultaneous installation + of valgrind-devel.{i686,x86_64} (#848146) + * Fri Aug 10 2012 Jakub Jelinek 3.8.0-1 - update to 3.8.0 release - from CFLAGS/CXXFLAGS filter just fortification flags, not arch