From 7dd41bb1ee051203939f03417b813f54c619dcbb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 6 Jan 2011 17:01:41 +0900 Subject: [PATCH] fix %ghc_binlib_package's appearing in srpm description --- ghc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc.spec b/ghc.spec index f4d981c..cbd5664 100644 --- a/ghc.spec +++ b/ghc.spec @@ -80,6 +80,7 @@ interface. %global ghc_version_override %{version} +%if 0%{?ghc_binlib_package:1} %ghc_binlib_package Cabal 1.10.0.0 %ghc_binlib_package array 0.3.0.2 %ghc_binlib_package -c gmp-devel,libffi-devel base 4.3.0.0 @@ -101,6 +102,7 @@ interface. %ghc_binlib_package template-haskell 2.5.0.0 %ghc_binlib_package time 1.2.0.3 %ghc_binlib_package unix 2.4.1.0 +%endif %global version %{ghc_version_override}