update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-17 18:27:15 +09:00
parent dd5b549600
commit 0e8bcac314
1 changed files with 9 additions and 10 deletions

View File

@ -1,4 +1,3 @@
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
@ -12,21 +11,19 @@ data Stream a = Cons a (Stream a).
Name: ghc-%{pkg_name}
Version: 0.4.6.1
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-lazysmallcheck-devel
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-lazysmallcheck-devel
# End cabal-rpm deps
%description
%{common_description}
@ -44,7 +41,6 @@ BuildRequires: ghc-QuickCheck-devel
%ghc_lib_install
# devel subpackage
%ghc_devel_package
%ghc_devel_description
@ -57,6 +53,9 @@ BuildRequires: ghc-QuickCheck-devel
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.4.6.1-2
- update with cabal-rpm
* Fri Oct 26 2012 Shakthi Kannan <shakthimaan AT fedoraproject dot org> - 0.4.6.1-1
- Updated to new upstream release 0.4.6.1