Condition test

This commit is contained in:
Nicolas Chauvet 2012-10-17 09:18:44 +02:00
parent e7564412e6
commit ca782dea27

View File

@ -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