[ghc-language-c] update to cabal2spec-0.24.1

Jens Petersen petersen at fedoraproject.org
Wed Oct 26 04:07:57 UTC 2011


commit ca6d610688e7ce28bb5840e3d19f5f8ea787e92e
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Oct 26 13:07:55 2011 +0900

    update to cabal2spec-0.24.1

 ghc-language-c.spec |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/ghc-language-c.spec b/ghc-language-c.spec
index 576a469..9adfffe 100644
--- a/ghc-language-c.spec
+++ b/ghc-language-c.spec
@@ -14,21 +14,21 @@ for all of C99 and a large set of GNU extensions.
 
 Name:           ghc-%{pkg_name}
 Version:        0.4.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
-# BEGIN: cabal2spec-0.24
+# BEGIN cabal2spec
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
+%if %{undefined without_hscolour}
 BuildRequires:  hscolour
-# END: cabal2spec-0.24
-# BR any C devel dependency here
-# list ghc-*-prof dependencies:
+%endif
+# END cabal2spec
 BuildRequires:  alex
 BuildRequires:  happy
 BuildRequires:  ghc-containers-prof
@@ -45,12 +45,11 @@ BuildRequires:  ghc-syb-prof
 %package -n ghc-%{pkg_name}-devel
 Summary:        Development files for %{common_summary}
 Group:          Development/Libraries
-# BEGIN: cabal2spec-0.24
+# BEGIN cabal2spec
 %{?ghc_devel_requires}
 Obsoletes:      ghc-%{pkg_name}-prof < %{version}-%{release}
 Provides:       ghc-%{pkg_name}-prof = %{version}-%{release}
-# END: cabal2spec-0.24
-# remember to require any C devel dependency here
+# END cabal2spec
 # Haskell devel dependencies are autogenerated by ghc-deps.sh
 
 %description -n ghc-%{pkg_name}-devel
@@ -81,15 +80,16 @@ This package contains the development files.
 
 %if %{undefined ghc_without_shared}
 %files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
-%defattr(-,root,root,-)
 %endif
 
 
 %files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
-%defattr(-,root,root,-)
 
 
 %changelog
+* Wed Oct 26 2011 Jens Petersen <petersen at redhat.com> - 0.4.2-4
+- rebuild for newer gmp and update to cabal2spec-0.24.1
+
 * Mon Sep 26 2011 Michel Salim <salimma at fedoraproject.org> - 0.4.2-3
 - Remove manual runtime dependencies; issue fixed by ghc-rpm-macros 0.13.10
 


More information about the scm-commits mailing list