[ghc-language-c] update with cabal-rpm
Jens Petersen
petersen at fedoraproject.org
Sat Nov 17 14:52:32 UTC 2012
commit 077779f5737675054d120f5c241281420a5cf049
Author: Jens Petersen <petersen at redhat.com>
Date: Sat Nov 17 23:52:26 2012 +0900
update with cabal-rpm
ghc-language-c.spec | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/ghc-language-c.spec b/ghc-language-c.spec
index 1ce2cf1..0686ca2 100644
--- a/ghc-language-c.spec
+++ b/ghc-language-c.spec
@@ -1,39 +1,37 @@
-# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name language-c
-# common part of summary for all the subpackages
%global common_summary Haskell library for C code analysis and generation
-# main description used for all the subpackages
%global common_description Language C is a Haskell library for the analysis and generation of C\
code. It features a complete, well tested parser and pretty printer\
for all of C99 and a large set of GNU extensions.
Name: ghc-%{pkg_name}
Version: 0.4.2
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: %{common_summary}
-Group: System Environment/Libraries
License: BSD
-# 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 %{!?without_hscolour:hscolour}
-# END cabal2spec
-BuildRequires: alex
-BuildRequires: happy
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-array-devel
+BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-pretty-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-syb-devel
+# End cabal-rpm deps
+BuildRequires: alex
+BuildRequires: happy
%description
%{common_description}
@@ -63,6 +61,9 @@ BuildRequires: ghc-syb-devel
%changelog
+* Sat Nov 17 2012 Jens Petersen <petersen at redhat.com> - 0.4.2-10
+- update with cabal-rpm
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list