Condition test
This commit is contained in:
parent
e7564412e6
commit
ca782dea27
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user