auto-import valgrind-3.0.0-1 on branch devel from valgrind-3.0.0-1.src.rpm
This commit is contained in:
parent
61a2d81813
commit
125e32ada6
@ -1 +1 @@
|
|||||||
valgrind-2.4.0.tar.bz2
|
valgrind-3.0.0.tar.bz2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
1d0bd81d368789946d32d18a468ea0cf valgrind-2.4.0.tar.bz2
|
e976a343c61d9505162f595a8aeb09c1 valgrind-3.0.0.tar.bz2
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
Summary: Tool for finding memory management bugs in programs
|
Summary: Tool for finding memory management bugs in programs
|
||||||
Name: valgrind
|
Name: valgrind
|
||||||
Version: 2.4.0
|
Version: 3.0.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Source0: http://developer.kde.org/~sewardj/valgrind-%{version}.tar.bz2
|
Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2
|
||||||
Patch1: valgrind-2.4.0-regtest.patch
|
Patch1: valgrind-3.0.0-regtest.patch
|
||||||
Patch2: valgrind-2.4.0-valgrind_h.patch
|
Patch2: valgrind-3.0.0-valgrind_h.patch
|
||||||
Patch3: valgrind-2.4.0-x86-insn-tests.patch
|
Patch3: valgrind-3.0.0-amd64-highbase.patch
|
||||||
Patch4: valgrind-2.4.0-glibc24.patch
|
Patch4: valgrind-3.0.0-matchexec.patch
|
||||||
|
Patch5: valgrind-3.0.0-biarch-hack.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://valgrind.kde.org/
|
URL: http://www.valgrind.org/
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
ExclusiveArch: %{ix86}
|
ExclusiveArch: %{ix86} x86_64
|
||||||
|
# Temporarily, valgrind-callgrind has not been ported to valgrind-3.0.0 yet
|
||||||
# Disable internal dependency generator
|
Obsoletes: valgrind-callgrind
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
|
|
||||||
# Disable build root strip policy
|
# Disable build root strip policy
|
||||||
%define __spec_install_post /usr/lib/rpm/brp-compress || :
|
%define __spec_install_post /usr/lib/rpm/brp-compress || :
|
||||||
@ -35,22 +35,17 @@ find/diagnose.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%ifarch x86_64
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%endif
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
%define __find_provides %{_builddir}/%{name}-%{version}/find-provides
|
|
||||||
find_provides=`rpm --eval %%{__find_provides}`
|
|
||||||
echo "$find_provides | grep -v libpthread" > find-provides
|
|
||||||
chmod +x find-provides
|
|
||||||
|
|
||||||
%define __find_requires %{_builddir}/%{name}-%{version}/find-requires
|
|
||||||
find_requires=`rpm --eval %%{__find_requires}`
|
|
||||||
echo "$find_requires | grep -v GLIBC_PRIVATE" > find-requires
|
|
||||||
chmod +x find-requires
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
|
cp -a glibc-2.3.supp glibc-2.4.supp
|
||||||
|
|
||||||
# Force a specific set of default suppressions
|
# Force a specific set of default suppressions
|
||||||
echo -n > default.supp
|
echo -n > default.supp
|
||||||
for file in glibc-2.3.supp xfree-4.supp ; do
|
for file in glibc-2.3.supp xfree-4.supp ; do
|
||||||
@ -87,16 +82,19 @@ echo ===============END TESTING===============
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
cp -a $RPM_BUILD_ROOT%{_bindir}/valgrind \
|
||||||
|
$RPM_BUILD_ROOT%{_libdir}/valgrind/valgrind
|
||||||
mkdir docs.installed
|
mkdir docs.installed
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
|
||||||
|
rm -f docs.installed/*.ps
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ACKNOWLEDGEMENTS COPYING NEWS README_* TODO
|
%doc ACKNOWLEDGEMENTS COPYING NEWS README_*
|
||||||
%doc docs.installed/*.html docs.installed/*.gif
|
%doc docs.installed/html docs.installed/*.pdf
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_includedir}/valgrind
|
%{_includedir}/valgrind
|
||||||
%{_libdir}/valgrind
|
%{_libdir}/valgrind
|
||||||
@ -104,6 +102,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/valgrind*
|
%{_mandir}/man1/valgrind*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2005 Jakub Jelinek <jakub@redhat.com> 3.0.0-1
|
||||||
|
- upgrade to 3.0.0
|
||||||
|
- x86_64 support
|
||||||
|
- temporarily obsolete valgrind-callgrind, as it has not been
|
||||||
|
ported yet
|
||||||
|
|
||||||
* Tue Jul 12 2005 Jakub Jelinek <jakub@redhat.com> 2.4.0-3
|
* Tue Jul 12 2005 Jakub Jelinek <jakub@redhat.com> 2.4.0-3
|
||||||
- build some insn tests with -mmmx, -msse or -msse2 (#161572)
|
- build some insn tests with -mmmx, -msse or -msse2 (#161572)
|
||||||
- handle glibc-2.3.90 the same way as 2.3.[0-5]
|
- handle glibc-2.3.90 the same way as 2.3.[0-5]
|
||||||
|
Loading…
Reference in New Issue
Block a user