Allow conditional builds with tests skipped

This commit is contained in:
Mikolaj Izdebski 2015-01-23 16:22:56 +01:00
parent 83ac9b37de
commit baf30e4cbf

View File

@ -1,3 +1,5 @@
%bcond_without tests
%if 0%{?fedora} > 21
%global with_python3 1
%else
@ -199,8 +201,10 @@ pushd python
%endif
popd
%if %{with tests}
%check
./check
%endif
%files -f files-common
%doc LICENSE
@ -232,6 +236,7 @@ popd
%changelog
* Fri Jan 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.2-4
- Add gradle-local subpackage
- Allow conditional builds with tests skipped
* Mon Jan 19 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.2-3
- Port to lua 5.3.0