X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcoq.git;a=blobdiff_plain;f=coq.spec;fp=coq.spec;h=6d13d0a9eaebf135fd0cc18ac4df08ba03b3a186;hp=4ad971ece5e9cfd0e6505171d2b890e89441f730;hb=8f33d8d4f19bebcdba93d072bf34b93106612872;hpb=9019ffc759bcf2e3191c2bb59c34e40a838bbe2c diff --git a/coq.spec b/coq.spec index 4ad971e..6d13d0a 100644 --- a/coq.spec +++ b/coq.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_with tests # run testsuite (non-deterministic fail in micromega tests on 64bit arch) +# Summary: The Coq Proof Assistant Summary(pl.UTF-8): Coq - narzędzie pomagające w udowadnianiu Name: coq @@ -81,14 +85,14 @@ Styl dokumentacji Coq dla latexa. -mandir %{_mandir} \ -docdir %{_docdir}/%{name}-%{version} \ -emacs emacs \ - -browser 'iceweasel -remote "OpenURL(%s,new-tab)" || iceweasel %s &' \ + -browser "xdg-open %s" \ -emacslib %{_datadir}/emacs/site-lisp \ -opt \ --coqdocdir %{_datadir}/texmf/tex/latex/misc \ --coqide opt %{__make} -j1 world -%{__make} -j1 check # Use native coq to compile theories +%{?with_tests:%{__make} -j1 check} # Use native coq to compile theories %install rm -rf $RPM_BUILD_ROOT