[ghc-rpm-macros] fix missing %endif

Jens Petersen petersen at fedoraproject.org
Mon Sep 10 02:48:17 UTC 2012


commit e330117e144988d79ee473d3b374e8cf03623281
Author: Jens Petersen <petersen at redhat.com>
Date:   Sat Sep 8 21:25:38 2012 +0900

    fix missing %endif

 ghc-rpm-macros.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec
index f4aee22..653ce55 100644
--- a/ghc-rpm-macros.spec
+++ b/ghc-rpm-macros.spec
@@ -26,7 +26,8 @@ Source4:        cabal-tweak-dep-ver
 Requires:       redhat-rpm-config
 %if %{undefined without_hscolour}
 ExclusiveArch:  %{ghc_arches}
-BuildRequires:  ghc-rpm-macros, hscolour
+BuildRequires:  ghc-rpm-macros
+BuildRequires:  hscolour
 Requires:       hscolour
 %endif
 
@@ -69,6 +70,8 @@ cat >> %{buildroot}/%{macros_file} <<EOF
 # bootstrap
 %%without_hscolour 1
 EOF
+%endif
+
 
 %files
 %doc COPYING AUTHORS


More information about the scm-commits mailing list