|
From: Rich C. <Ric...@me...> - 2005-08-09 17:46:39
|
This adds
- explicitly making the html documents as part of the build
(some make problem?)
- removing the destination directory, so that subsequent rebuilds don't
stop
- changing the source location for the html and image files
- making the regression tests as part of the build
You can ignore Patch1 if you want. It is the patch I submitted yesterday to
add a suppression to a problem in my glibc-2.3.5.
Hopefully someone might find this helpful.
--
Rich Coe ric...@me...
General Electric Healthcare Technologies
Global Software Platforms, Computer Technology Team
--- /src/valgrind-3.0.0/valgrind.spec 2005-08-08 16:26:05.000000000 -0500
+++ valgrind.spec 2005-08-08 18:30:53.829735680 -0500
@@ -8,6 +8,7 @@
Group: Development/Debuggers
Packager: Jeremy Fitzhardinge <je...@go...>
Source: valgrind-3.0.0.tar.bz2
+Patch1: valgrind-3.0.0-glibc-2.3-patch
Buildroot: %{_tmppath}/%{name}-root
@@ -25,14 +26,19 @@
%prep
%setup -n valgrind-3.0.0
+%patch1
%build
%configure
make
+make regtest || :
%install
+rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+make -C docs html-docs
+
%makeinstall
mkdir docs.installed
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
@@ -40,7 +46,7 @@
%files
%defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS COPYING FAQ.txt INSTALL NEWS README*
-%doc docs.installed/*.html docs.installed/*.gif
+%doc docs.installed/html/* docs.installed/html/images/*
%{_bindir}/*
%{_includedir}/valgrind
%{_libdir}/valgrind
|