From ca782dea278007d83b3ce705d6281a0939765c95 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 17 Oct 2012 09:18:44 +0200 Subject: [PATCH] Condition test --- libproxy.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libproxy.spec b/libproxy.spec index c96782b..6f40087 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -191,9 +191,10 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" #In case all modules are disabled mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules - +%{?_with_test: %check make test +} %post -p /sbin/ldconfig