mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
installed, as it was silly since the reg tests themselves aren't installed. Updated the "make regtest" target to use the uninstalled version in tests/. Also, vg_regtest now no longer uses the installed version of Valgrind to do the testing, but instead coregrind/valgrind. This means that you don't have to do make install with your buggy changes before running the regtests on them :) I even updated the RPM package .spec file! Thanks to Dirk M�ller for the suggestion. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1551
54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
Summary: Valgrind Memory Debugger
|
|
Name: @PACKAGE@
|
|
Version: @VERSION@
|
|
Release: 1
|
|
Copyright: GPL
|
|
Group: Development/Debuggers
|
|
Packager: Jeremy Fitzhardinge <jeremy@goop.org>
|
|
Source: @PACKAGE@-@VERSION@.tar.bz2
|
|
|
|
Buildroot: %{_tmppath}/@PACKAGE@
|
|
|
|
%description
|
|
|
|
Valgrind is a GPL'd 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 problems such as:
|
|
|
|
- Use of uninitialised memory
|
|
- Reading/writing memory after it has been free'd
|
|
- Reading/writing off the end of malloc'd blocks
|
|
- Reading/writing inappropriate areas on the stack
|
|
- Memory leaks -- where pointers to malloc'd blocks are lost forever
|
|
- Passing of uninitialised and/or unaddressible memory to system calls
|
|
- Mismatched use of malloc/new/new [] vs free/delete/delete []
|
|
- Some abuses of the POSIX Pthreads API
|
|
|
|
%prep
|
|
%setup -n @PACKAGE@-@VERSION@
|
|
|
|
%build
|
|
./configure --prefix=/usr
|
|
make
|
|
|
|
%install
|
|
make install prefix=$RPM_BUILD_ROOT/usr
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/include/valgrind/valgrind.h
|
|
/usr/include/valgrind/memcheck.h
|
|
/usr/include/valgrind/helgrind.h
|
|
/usr/bin/valgrind
|
|
/usr/bin/cg_annotate
|
|
/usr/lib/valgrind/*
|
|
/usr/bin/valgrind-listener
|
|
|
|
%doc
|
|
/usr/share/doc/valgrind/*
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
|