update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-18 01:17:02 +09:00
parent a291510e5e
commit a3dbfcb5c6

View File

@ -1,4 +1,3 @@
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
@ -10,20 +9,23 @@
Name: ghc-%{pkg_name}
Version: 1.1.8
Release: 7%{?dist}
Release: 8%{?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-array-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-regex-base-devel
# End cabal-rpm deps
%description
%{common_description}
@ -41,7 +43,6 @@ BuildRequires: ghc-regex-base-devel
%ghc_lib_install
# devel subpackage
%ghc_devel_package
%ghc_devel_description
@ -54,6 +55,9 @@ BuildRequires: ghc-regex-base-devel
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 1.1.8-8
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild