[ghc-rpm-macros/f17] BR redhat-rpm-config not ghc-rpm-macros; don't set without_hscolour in macros.ghc
Jens Petersen
petersen at fedoraproject.org
Thu Oct 25 10:34:58 UTC 2012
commit 7090e358c3940152447f1291747cb3ba1f081880
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Oct 25 19:34:49 2012 +0900
BR redhat-rpm-config not ghc-rpm-macros; don't set without_hscolour in macros.ghc
ghc-rpm-macros.spec | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec
index 2d75e79..0999d0d 100644
--- a/ghc-rpm-macros.spec
+++ b/ghc-rpm-macros.spec
@@ -4,8 +4,6 @@
# uncomment to bootstrap without hscolour
#%%global without_hscolour 1
-# uncomment to unbootstrap hscolour on again
-#%%undefine without_hscolour
Name: ghc-rpm-macros
Version: 0.15.9
@@ -27,8 +25,8 @@ Source3: ghc-deps.sh
Source4: cabal-tweak-dep-ver
Requires: redhat-rpm-config
%if %{undefined without_hscolour}
+BuildRequires: redhat-rpm-config
ExclusiveArch: %{ghc_arches}
-BuildRequires: ghc-rpm-macros
Requires: hscolour
%endif
@@ -65,14 +63,6 @@ cat >> %{buildroot}/%{macros_file} <<EOF
EOF
%endif
-%if %{defined without_hscolour}
-cat >> %{buildroot}/%{macros_file} <<EOF
-
-# bootstrap
-%%without_hscolour 1
-EOF
-%endif
-
%files
%doc COPYING AUTHORS
@@ -82,6 +72,10 @@ EOF
%changelog
+* Thu Oct 25 2012 Jens Petersen <petersen at redhat.com>
+- BR redhat-rpm-config instead of ghc-rpm-macros
+- no longer set without_hscolour in macros.ghc for bootstrapping
+
* Tue Oct 9 2012 Jens Petersen <petersen at redhat.com> - 0.15.9-1
- "cabal haddock" needs --html option with --hoogle to output html
More information about the scm-commits
mailing list