[packages/kmod] - run (most of) test suite
arekm
arekm at pld-linux.org
Thu Nov 8 09:51:34 CET 2012
commit 335eb04a6b23592bc48e10f37a23fad9b3c9739c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 8 09:51:32 2012 +0100
- run (most of) test suite
kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kmod.spec b/kmod.spec
index 22d4ffa..89925cb 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -3,7 +3,7 @@
# - modprobe keeps "-" in module names: sprunge.us/dYCZ (probably irrelevant)
#
# Conditional build:
-%bcond_with tests # perform "make check" (init_module seems to require root for mkdir)
+%bcond_without tests # perform "make check" (init_module seems to require root for mkdir)
#
Summary: Linux kernel module handling
Summary(pl.UTF-8): Obsługa modułów jądra Linuksa
@@ -99,6 +99,9 @@ Pliki nagłówkowe biblioteki %{name}.
%prep
%setup -q
+# requires root to work
+sed -i -e 's# testsuite/test-modprobe # #g' Makefile.am
+
%build
%{__libtoolize}
%{__aclocal} -I m4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kmod.git/commitdiff/335eb04a6b23592bc48e10f37a23fad9b3c9739c
More information about the pld-cvs-commit
mailing list