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
|
#In case all modules are disabled
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules
|
||||||
|
|
||||||
|
%{?_with_test:
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user