update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-17 18:21:06 +09:00
parent 55e1e7c7d7
commit b562aa4138
1 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,3 @@
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
@ -14,21 +13,21 @@ library.
Name: ghc-%{pkg_name}
Version: 0.3.0.5
Release: 1%{?dist}
Release: 2%{?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-mtl-devel
BuildRequires: ghc-extensible-exceptions-devel
BuildRequires: ghc-mtl-devel
# End cabal-rpm deps
%description
%{common_description}
@ -46,7 +45,6 @@ BuildRequires: ghc-extensible-exceptions-devel
%ghc_lib_install
# devel subpackage
%ghc_devel_package
%ghc_devel_description
@ -59,6 +57,9 @@ BuildRequires: ghc-extensible-exceptions-devel
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.3.0.5-2
- update with cabal-rpm
* Fri Aug 17 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.3.0.5-1
- Updated to 0.3.0.5
- spec file template generated by cabal2spec-0.25.5