disable tests
Test suite seems to be not self-hosted, so it uses data from system which makes it very slow in koji. Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
121e963cd7
commit
b3de04ca3a
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_with tests
|
||||||
|
|
||||||
# trim changelog included in binary rpms
|
# trim changelog included in binary rpms
|
||||||
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
||||||
|
|
||||||
@ -156,8 +158,10 @@ chrpath -d %{buildroot}%{_libdir}/libq%{name}.so*
|
|||||||
rm -vf %{buildroot}%{python2_sitelib}/gpg/install_files.txt
|
rm -vf %{buildroot}%{python2_sitelib}/gpg/install_files.txt
|
||||||
rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt
|
rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt
|
||||||
|
|
||||||
|
%if ! %{with tests}
|
||||||
%check
|
%check
|
||||||
make check
|
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