]> git.pld-linux.org Git - packages/coq.git/commitdiff
- tests bcond
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 8 Apr 2011 16:51:50 +0000 (16:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use xdg_open as browser

Changed files:
    coq.spec -> 1.21

coq.spec

index 4ad971ece5e9cfd0e6505171d2b890e89441f730..6d13d0a9eaebf135fd0cc18ac4df08ba03b3a186 100644 (file)
--- 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
 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 \
        -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
        -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
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.037152 seconds and 4 git commands to generate.