[ghc-Agda] protect %if > comparison with 0

Jens Petersen petersen at fedoraproject.org
Thu Dec 13 03:42:08 UTC 2012


commit 24d3451e36e7d97c0c81fcce891af135c0d9695d
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Dec 13 12:42:02 2012 +0900

    protect %if > comparison with 0

 ghc-Agda.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ghc-Agda.spec b/ghc-Agda.spec
index b7f9246..a4391de 100644
--- a/ghc-Agda.spec
+++ b/ghc-Agda.spec
@@ -104,7 +104,7 @@ cabal-tweak-dep-ver haskell-src-exts "< 1.12" "< 1.14"
 
 %patch1 -p1 -b .orig
 # check for QuickCheck-2.5
-%if %(ghc-pkg list --simple-output --global QuickCheck | sed -e "s/QuickCheck-\(.\).\(.\).*/\1/") >= 25
+%if 0%(ghc-pkg list --simple-output --global QuickCheck | sed -e "s/QuickCheck-\(.\).\(.\).*/\1/") >= 25
 %patch2 -p1 -b .QC
 %endif
 


More information about the scm-commits mailing list