]> git.pld-linux.org Git - packages/ghc.git/commitdiff
- added bootstrap bcond, fixed shellglob
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 17 Oct 2005 12:41:08 +0000 (12:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ghc.spec -> 1.52

ghc.spec

index 6f39135e53afe1b5e9e4c5e5bec277fc1db0ca0f..d83df4a2163b26c2da98577ef2f64b9e5759f7c7 100644 (file)
--- a/ghc.spec
+++ b/ghc.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    bootstrap       # use foreign (non-rpm) ghc to bootstrap
+#
 Summary:       Glasgow Haskell Compilation system
 Summary(pl):   System kompilacji Glasgow Haskell
 Name:          ghc
@@ -12,7 +16,7 @@ URL:          http://haskell.org/ghc/
 BuildRequires: alex >= 2.0
 BuildRequires: autoconf
 BuildRequires: docbook-style-dsssl
-BuildRequires: ghc >= 4.0.8
+%{!?with_boostrap:BuildRequires:       ghc >= 4.0.8}
 BuildRequires: gmp-devel
 BuildRequires: happy >= 1.10
 BuildRequires: jadetex
@@ -143,7 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/ghc-%{version}/hsc2hs-bin
 %attr(755,root,root) %{_libdir}/ghc-%{version}/unlit
 %{_libdir}/ghc-%{version}/*.prl
-%{_libdir}/ghc-%{version}/libHS*[^p].a
+%{_libdir}/ghc-%{version}/libHS*[!p].a
 %{_libdir}/ghc-%{version}/HS*.o
 %{_libdir}/ghc-%{version}/package.conf
 %{_libdir}/ghc-%{version}/*.h
This page took 0.14409 seconds and 4 git commands to generate.