packages: darcs/darcs.spec - added test bcond
baggins
baggins at pld-linux.org
Fri Aug 27 23:19:44 CEST 2010
Author: baggins Date: Fri Aug 27 21:19:44 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added test bcond
---- Files affected:
packages/darcs:
darcs.spec (1.32 -> 1.33)
---- Diffs:
================================================================
Index: packages/darcs/darcs.spec
diff -u packages/darcs/darcs.spec:1.32 packages/darcs/darcs.spec:1.33
--- packages/darcs/darcs.spec:1.32 Fri Aug 27 22:49:34 2010
+++ packages/darcs/darcs.spec Fri Aug 27 23:19:39 2010
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # build without tests
+#
Summary: David's Advanced Revision Control System - yet another replacement for CVS
Summary(pl.UTF-8): David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a
Name: darcs
@@ -51,7 +55,7 @@
%prep
%setup -q
-#%patch0 -p1
+%patch0 -p1
%build
runhaskell Setup.lhs configure -v2 \
@@ -62,6 +66,8 @@
--flags="curl curl-pipelining terminfo color mmap"
runhaskell Setup.lhs build
+%{?with_tests:runhaskell Setup.lhs test}
+
runhaskell Setup.lhs haddock --executables \
--css=doc/darcs.css
@@ -101,6 +107,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2010/08/27 21:19:39 baggins
+- added test bcond
+
Revision 1.32 2010/08/27 20:49:34 baggins
- 2.4.4
- updated deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/darcs/darcs.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list