[ghc/f13/master] fix 2 leftover bcond shared references

Jens Petersen petersen at fedoraproject.org
Tue Mar 29 09:12:02 UTC 2011


commit b221df6c0e97950f23a7a01ac7ee6318248be58c
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Mar 29 18:11:56 2011 +0900

    fix 2 leftover bcond shared references

 ghc.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index ffa4017..48aacd2 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -76,7 +76,7 @@ Preformatted documentation for the Glorious Glasgow Haskell Compilation System
 (GHC) and its libraries.  It should be installed if you like to have local
 access to the documentation in HTML format.
 
-%if %{with shared}
+%if %{undefined ghc_without_shared}
 %package libs
 Summary: Shared libraries for GHC
 Group: Development/Libraries
@@ -259,7 +259,7 @@ fi
 %ghost %{ghcdocbasedir}/libraries/plus.gif
 %endif
 
-%if %{with shared}
+%if %{undefined ghc_without_shared}
 %files libs -f ghc-libs.files
 %defattr(-,root,root,-)
 %endif


More information about the scm-commits mailing list