[gxemul] do not run tests at make install
Tom Callaway
spot at fedoraproject.org
Mon Jan 23 04:53:48 UTC 2012
commit 0e6798623c9592420bb90ec0b341c796fb37b62f
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Jan 22 23:53:46 2012 -0500
do not run tests at make install
gxemul-0.6.0-notest.patch | 12 ++++++++++++
gxemul.spec | 4 ++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gxemul-0.6.0-notest.patch b/gxemul-0.6.0-notest.patch
new file mode 100644
index 0000000..173f893
--- /dev/null
+++ b/gxemul-0.6.0-notest.patch
@@ -0,0 +1,12 @@
+diff -up gxemul-0.6.0/Makefile.skel.notest gxemul-0.6.0/Makefile.skel
+--- gxemul-0.6.0/Makefile.skel.notest 2012-01-22 23:50:58.334319727 -0500
++++ gxemul-0.6.0/Makefile.skel 2012-01-22 23:51:11.074199213 -0500
+@@ -30,7 +30,7 @@ documentation: build
+ doc/generate_machine_doc.sh
+ $(DOXYGEN) doc/Doxyfile
+
+-install: documentation test
++install: documentation
+ @echo Installing binaries, man page, and documentation...
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin/
diff --git a/gxemul.spec b/gxemul.spec
index a1d3e87..80648b8 100644
--- a/gxemul.spec
+++ b/gxemul.spec
@@ -8,6 +8,7 @@ URL: http://gxemul.sourceforge.net/
Source0: http://gxemul.sourceforge.net/src/%{name}-%{version}.tar.gz
Patch0: gxemul-0.6.0-Makefile-cleanup.patch
Patch1: gxemul-0.6.0-gcc47.patch
+Patch2: gxemul-0.6.0-notest.patch
BuildRequires: libX11-devel, xorg-x11-proto-devel
%description
@@ -22,6 +23,8 @@ on a real machine.
%setup -q
%patch0 -p1 -b .cleanup
%patch1 -p1
+# Do not run the test suite at make install.
+%patch2 -p1
%build
CXXFLAGS="$RPM_OPT_FLAGS" PREFIX="%{_prefix}" ./configure
@@ -40,6 +43,7 @@ make DESTDIR=%{buildroot} install
%changelog
* Sun Jan 22 2012 Tom Callaway <spot at fedoraproject.org> - 0.6.0-4
- fix compile with gcc 4.7 (may have been an issue with 4.6 too)
+- do not run the test suite at make install
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list