update with cabal-rpm
This commit is contained in:
parent
5bbf15ae19
commit
d5e502b2d7
|
@ -1,4 +1,3 @@
|
|||
# cabal2spec-0.25
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
|
@ -10,18 +9,17 @@
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0
|
||||
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:
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -39,7 +37,6 @@ BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|||
%ghc_lib_install
|
||||
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
@ -52,6 +49,9 @@ BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 1.0-2
|
||||
- update with cabal-rpm
|
||||
|
||||
* Tue Jul 10 2012 Ben Boeckel <mathstuf@gmail.com> - 1.0-1
|
||||
- Initial package
|
||||
|
||||
|
|
Loading…
Reference in New Issue