update with cabal-rpm
This commit is contained in:
parent
15ca015563
commit
54e40002b1
|
@ -1,4 +1,3 @@
|
|||
# cabal2spec-0.25
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
|
@ -15,19 +14,21 @@ a Haskell FFI wrapper that hide the C implementation.
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.7.5
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?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-bytestring-devel
|
||||
BuildRequires: ghc-cereal-devel
|
||||
BuildRequires: ghc-crypto-api-devel
|
||||
BuildRequires: ghc-tagged-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -47,7 +48,6 @@ BuildRequires: ghc-bytestring-devel
|
|||
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
@ -61,6 +61,9 @@ rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.7.5-4
|
||||
- update with cabal-rpm
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue