fix missing readline-devel requires; update with cabal-rpm
This commit is contained in:
parent
e4dfcb5a4b
commit
9131c2c49b
|
@ -1,4 +1,3 @@
|
|||
# cabal2spec-0.25
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
|
@ -15,21 +14,19 @@ previous commands.
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.1.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2
|
||||
# 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-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: readline readline-devel
|
||||
# End cabal-rpm deps
|
||||
BuildRequires: readline-devel%{_isa}
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -43,8 +40,8 @@ BuildRequires: readline readline-devel
|
|||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
Requires: readline-devel%{_isa}
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
@ -53,6 +50,10 @@ BuildRequires: readline readline-devel
|
|||
%ghc_files LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Nov 9 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.0-2
|
||||
- fix missing readline-devel requires
|
||||
- update with cabal-rpm
|
||||
|
||||
* Tue Jun 12 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 1.0.1.0-1
|
||||
- Added BuildRequires.
|
||||
- Spec file template generated by cabal2spec-0.25.5
|
||||
|
|
Loading…
Reference in New Issue