Add check section
This commit is contained in:
parent
999b95e3ea
commit
448e5e1e99
@ -75,6 +75,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
# We don't ship .la files.
|
# We don't ship .la files.
|
||||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
%check
|
||||||
|
#to run make check use "--with check"
|
||||||
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
|
make check
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user