Allow conditional builds with tests skipped
This commit is contained in:
parent
83ac9b37de
commit
baf30e4cbf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user