From 54e40002b1dc2ca9357f126243119bbcb93018eb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 17 Nov 2012 22:02:24 +0900 Subject: [PATCH] update with cabal-rpm --- ghc-cryptohash.spec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/ghc-cryptohash.spec b/ghc-cryptohash.spec index a15d971..2ad1e07 100644 --- a/ghc-cryptohash.spec +++ b/ghc-cryptohash.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -15,19 +14,21 @@ a Haskell FFI wrapper that hide the C implementation. Name: ghc-%{pkg_name} Version: 0.7.5 -Release: 3%{?dist} +Release: 4%{?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: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-cereal-devel +BuildRequires: ghc-crypto-api-devel +BuildRequires: ghc-tagged-devel +# End cabal-rpm deps %description %{common_description} @@ -47,7 +48,6 @@ BuildRequires: ghc-bytestring-devel rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version} -# devel subpackage %ghc_devel_package %ghc_devel_description @@ -61,6 +61,9 @@ rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version} %changelog +* Sat Nov 17 2012 Jens Petersen - 0.7.5-4 +- update with cabal-rpm + * Thu Jul 19 2012 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild