From: Jan Rękorajski Date: Fri, 8 Apr 2011 16:51:50 +0000 (+0000) Subject: - tests bcond X-Git-Tag: auto/th/coq-8_3pl1-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcoq.git;a=commitdiff_plain;h=8f33d8d4f19bebcdba93d072bf34b93106612872 - tests bcond - use xdg_open as browser Changed files: coq.spec -> 1.21 --- 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