From ec1e75c5f498a6aa5b3ce9e04b92b9ddb65f7d6f Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 13:55:15 +0000 Subject: auto-import changelog data from valgrind-1.0.0-1.src.rpm Fri Aug 09 2002 Alexander Larsson - Update to 1.0.0 Wed Jul 03 2002 Alexander Larsson - Update to pre4. Tue Jun 18 2002 Alexander Larsson - Add threadkeys and extra suppressions patches. Bump epoch. Mon Jun 17 2002 Alexander Larsson - Updated to 1.0pre1 Tue May 28 2002 Alex Larsson - Updated to 20020524. Added GLIBC_PRIVATE patch Thu May 09 2002 Jonathan Blandford - add missing symbol __pthread_clock_settime Wed May 08 2002 Alex Larsson - Update to 20020508 Mon May 06 2002 Alex Larsson - Update to 20020503b Thu May 02 2002 Alex Larsson - update to new snapshot Mon Apr 29 2002 Alex Larsson 20020428-1 - update to new snapshot Fri Apr 26 2002 Jeremy Katz 20020426-1 - update to new snapshot Thu Apr 25 2002 Alex Larsson 20020424-5 - Added stack patch. Commented out other patches. Wed Apr 24 2002 Nalin Dahyabhai 20020424-4 - filter out GLIBC_PRIVATE requires, add preload patch Wed Apr 24 2002 Alex Larsson 20020424-3 - Make glibc 2.2 and XFree86 4 the default supressions Wed Apr 24 2002 Alex Larsson 20020424-2 - Added patch that includes atomic.h Wed Apr 24 2002 Alex Larsson 20020424-1 - Initial build --- diff --git a/.cvsignore b/.cvsignore index e69de29..c721ad7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +valgrind-1.0.0.tar.bz2 diff --git a/sources b/sources index e69de29..14e8db1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +76c59f7f9c57ca78d733bd956b4d94ae valgrind-1.0.0.tar.bz2 diff --git a/valgrind.spec b/valgrind.spec new file mode 100644 index 0000000..b314985 --- /dev/null +++ b/valgrind.spec @@ -0,0 +1,111 @@ +%define tar_version 1.0.0 + +Summary: Tool for finding memory management bugs in programs +Name: valgrind +Version: 1.0.0 +Release: 1 +Epoch: 1 +Source0: valgrind-%{tar_version}.tar.bz2 +License: GPL +Group: Development/Debuggers +BuildRoot: %{_tmppath}/%{name}-root +ExclusiveArch: %{ix86} +Patch0: valgrind-1.0pre1-extra_suppressions.patch +Patch1: valgrind-1.0pre4-clock.patch + +%define __find_requires %{_builddir}/%{name}-%{tar_version}/find-requires + +# disable build root strip policy +%define __spec_install_post /usr/lib/rpm/brp-compress || : + +%description +Valgrind is a tool to help you find memory-management problems in your +programs. When a program is run under Valgrind's supervision, all +reads and writes of memory are checked, and calls to +malloc/new/free/delete are intercepted. As a result, Valgrind can +detect a lot of problems that are otherwise very hard to +find/diagnose. + +%prep +%setup -q -n valgrind-%{tar_version} + +%patch0 -p1 -b .extra_suppressions +%patch1 -p1 -b .clock + +find_requires=`rpm --eval %%{__find_requires}` +echo "$find_requires | grep -v GLIBC_PRIVATE" > find-requires +chmod +x find-requires + +%build +%configure + +# Force a specific set of default supressions +echo -n > default.supp +for file in glibc-2.2.supp xfree-4.supp ; do + cat $file >> default.supp +done +make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall +mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind $RPM_BUILD_ROOT%{_datadir}/doc/valgrind-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc ACKNOWLEDGEMENTS COPYING ChangeLog NEWS README TODO README_MISSING_SYSCALL_OR_IOCTL +%{_bindir}/* +%{_prefix}/include/valgrind.h +%{_libdir}/valgrind + +%changelog +* Fri Aug 9 2002 Alexander Larsson +- Update to 1.0.0 + +* Wed Jul 3 2002 Alexander Larsson +- Update to pre4. + +* Tue Jun 18 2002 Alexander Larsson +- Add threadkeys and extra suppressions patches. Bump epoch. + +* Mon Jun 17 2002 Alexander Larsson +- Updated to 1.0pre1 + +* Tue May 28 2002 Alex Larsson +- Updated to 20020524. Added GLIBC_PRIVATE patch + +* Thu May 9 2002 Jonathan Blandford +- add missing symbol __pthread_clock_settime + +* Wed May 8 2002 Alex Larsson +- Update to 20020508 + +* Mon May 6 2002 Alex Larsson +- Update to 20020503b + +* Thu May 2 2002 Alex Larsson +- update to new snapshot + +* Mon Apr 29 2002 Alex Larsson 20020428-1 +- update to new snapshot + +* Fri Apr 26 2002 Jeremy Katz 20020426-1 +- update to new snapshot + +* Thu Apr 25 2002 Alex Larsson 20020424-5 +- Added stack patch. Commented out other patches. + +* Wed Apr 24 2002 Nalin Dahyabhai 20020424-4 +- filter out GLIBC_PRIVATE requires, add preload patch + +* Wed Apr 24 2002 Alex Larsson 20020424-3 +- Make glibc 2.2 and XFree86 4 the default supressions + +* Wed Apr 24 2002 Alex Larsson 20020424-2 +- Added patch that includes atomic.h + +* Wed Apr 24 2002 Alex Larsson 20020424-1 +- Initial build