update to cabal2spec-0.23
This commit is contained in:
parent
71e16799d2
commit
6f06a3aaa6
21
ghc-fgl.spec
21
ghc-fgl.spec
@ -4,15 +4,10 @@
|
||||
|
||||
%global common_description Martin Erwig's Functional Graph Library.
|
||||
|
||||
%global ghc_pkg_deps ghc-mtl-devel
|
||||
|
||||
# debuginfo is not useful for ghc
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2010.2.0.0
|
||||
# part of haskell-platform-2011.2.0.0
|
||||
Version: 5.4.2.3
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -21,16 +16,13 @@ URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
# fedora ghc archs:
|
||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||
BuildRequires: ghc-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
||||
BuildRequires: ghc-mtl-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
%if %{with shared}
|
||||
This package provides the shared library.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
@ -49,6 +41,9 @@ This package provides the shared library.
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.3-6
|
||||
- update to cabal2spec-0.23
|
||||
|
||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 5.4.2.3-5
|
||||
- Enable build on sparcv9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user