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