[darcs] disabled tests for now with bcond

Jens Petersen petersen at fedoraproject.org
Sat Nov 27 06:48:02 UTC 2010


commit f58219f927f2defb64cfe7b9b98e26b121c115bd
Author: Jens Petersen <petersen at redhat.com>
Date:   Sat Nov 27 16:48:05 2010 +1000

    disabled tests for now with bcond

 darcs.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/darcs.spec b/darcs.spec
index 6b6ae59..2c613a2 100644
--- a/darcs.spec
+++ b/darcs.spec
@@ -19,6 +19,8 @@ consistent and powerful theory of patches.
 
 %global ghc_pkg_c_deps curl-devel
 
+%bcond_with tests
+
 %bcond_without shared
 %bcond_without hscolour
 
@@ -67,8 +69,10 @@ Patch3:         darcs-2.5-ghc7.patch
 %ghc_lib_build
 
 
+%if %{with tests}
 %check
 %cabal test
+%endif
 
 
 %install
@@ -101,6 +105,7 @@ rm -rf $RPM_BUILD_ROOT
 - add darcs-2.5-ShellHarness-ghc70.patch for abstract directory Permissions
 - add darcs-2.5-ghc7-deps.patch to bump dep versions
 - add darcs-2.5-ghc7.patch for ghc-7.0.1 (thanks Ganesh Sittampalam)
+- disabled tests for now with bcond
 - drop -o obsoletes
 
 * Wed Nov 17 2010 Jens Petersen <petersen at redhat.com> - 2.5-2


More information about the scm-commits mailing list