]> git.pld-linux.org Git - packages/valgrind.git/blobdiff - valgrind.spec
- 1.9.3 (think glibc 2.3.x)
[packages/valgrind.git] / valgrind.spec
index 3d24a6cf9c66c4dc026e866ea8b30cb0e903079b..a30ed00be4abf0e25155785b1ed09533627d1582 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       An open-source memory debugger for x86-GNU/Linux
 Summary(pl):   Otwarty odpluskwiacz pamiêci dla Linuksa x86
 Name:          valgrind
-Version:       1.0.0
+Version:       1.9.3
 Release:       1
 License:       GPL
 ExclusiveArch: %{ix86}
@@ -12,9 +12,11 @@ BuildRequires:       autoconf
 BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# valgrind binaries should _never_ be stripped
-# anyone knows better solution?
-%define                debug   1
+# Valgrind binaries should _never_ be stripped
+%define                no_install_post_strip   1
+
+# Same name as libpthread
+%define                _noautoprovfiles %{_libdir}/%{name}/libpthread.so.0 %{_libdir}/%{name}/libpthread.so %{_libdir}/%{name}/valgrind.so %{_libdir}/%{name}/valgrinq.so
 
 %description
 Valgrind is a GPL'd tool to help you find memory-management problems
@@ -55,10 +57,11 @@ mo
 
 %build
 rm -f missing
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       LDFLAGS="" # no strip!
 %{__make}
 
 %install
@@ -73,7 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ACKNOWLEDGEMENTS AUTHORS ChangeLog PATCHES_APPLIED
 %doc README README_MISSING_SYSCALL_OR_IOCTL TODO
-%doc docs/*.html
+%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
 %attr(755,root,root) %{_bindir}/*
 %{_includedir}/*
 %{_libdir}/%{name}
This page took 0.048655 seconds and 4 git commands to generate.