Dirk Mueller 2012-09-05 15:11:33 +00:00 committed by Git OBS Bridge
parent 622ea2b334
commit b0b37de553
3 changed files with 34 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6
size 6624216

3
valgrind-3.8.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd16585f209712642ab6baa2b5c57ec1b879ab2ac4653828d82bb7f86ba7208c
size 7961355

View File

@ -33,7 +33,7 @@ Summary: Memory Management Debugger
License: GPL-2.0+
Group: Development/Tools/Debuggers
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 3.7.0
Version: 3.8.0
Release: 0
Source0: %{name}-%{version}.tar.bz2
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH > 3_5_BRANCH.diff
@ -42,8 +42,6 @@ Patch1: jit-register-unregister.diff
Patch2: glibc.diff
# added automake 1.11.2 patch https://bugs.kde.org/show_bug.cgi?id=290719 algrind-3.7.0-automake-1.11.2.patch
Patch3: valgrind-3.7.0-automake-1.11.2.patch
# added GCC 4.8 patch https://bugs.kde.org/show_bug.cgi?id=295808
Patch4: tzcnt-lzcnt-inst.diff
# during building the major version of glibc is built into the suppression file
%define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1)
%define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2)
@ -54,7 +52,7 @@ Provides: valgrind-devel = %version
%endif
Provides: callgrind = %version
Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64 s390x armv7hl
ExclusiveArch: %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
%if %suse_version > 1100
%define building_docs 1
%else
@ -140,10 +138,9 @@ Authors:
%setup -q -n %{name}-%{version}
cd VEX
cd ..
%patch1
%patch2
%patch3 -p1
%patch4
#%patch1
#%patch2
#%patch3 -p1
%build
%ifarch %arm
@ -194,7 +191,7 @@ cp -a README* NEWS AUTHORS COPYING COPYING.DOCS $RPM_BUILD_ROOT/%_defaultdocdir/
%ifarch ppc64
%_libdir/valgrind/*-ppc64-linux
%endif
%ifarch s390 s390x
%ifarch s390x
%_libdir/valgrind/*-s390x-linux
%endif
%ifarch %arm
@ -239,6 +236,31 @@ cp -a README* NEWS AUTHORS COPYING COPYING.DOCS $RPM_BUILD_ROOT/%_defaultdocdir/
%_libdir/valgrind/powerpc-altivec32l.xml
%_libdir/valgrind/powerpc-altivec64l-valgrind.xml
%_libdir/valgrind/powerpc-altivec64l.xml
%_libdir/valgrind/64bit-avx-valgrind-s*.xml
%_libdir/valgrind/64bit-avx.xml
%_libdir/valgrind/amd64-avx-coresse-valgrind.xml
%_libdir/valgrind/amd64-avx-coresse.xml
%_libdir/valgrind/amd64-avx-linux-valgrind.xml
%_libdir/valgrind/amd64-avx-linux.xml
%_libdir/valgrind/mips-cp0-valgrind-s*.xml
%_libdir/valgrind/mips-cp0.xml
%_libdir/valgrind/mips-cpu-valgrind-s*.xml
%_libdir/valgrind/mips-cpu.xml
%_libdir/valgrind/mips-fpu-valgrind-s*.xml
%_libdir/valgrind/mips-fpu.xml
%_libdir/valgrind/mips-linux-valgrind.xml
%_libdir/valgrind/mips-linux.xml
%_libdir/valgrind/power-core-valgrind-s*.xml
%_libdir/valgrind/s390-acr-valgrind-s*.xml
%_libdir/valgrind/s390-acr.xml
%_libdir/valgrind/s390-fpr-valgrind-s*.xml
%_libdir/valgrind/s390-fpr.xml
%_libdir/valgrind/s390x-core64-valgrind-s*.xml
%_libdir/valgrind/s390x-core64.xml
%_libdir/valgrind/s390x-generic-valgrind.xml
%_libdir/valgrind/s390x-generic.xml
%_libdir/valgrind/s390x-linux64-valgrind-s*.xml
%_libdir/valgrind/s390x-linux64.xml
%if %suse_version > 1100