use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2)
This commit is contained in:
parent
e6941f4d86
commit
1221467bf2
17
ghc-csv.spec
17
ghc-csv.spec
|
@ -12,24 +12,20 @@ Comma-Separated Values (CSV) Files". This format is used, \
|
||||||
among many other things, as a lingua franca for spreadsheets, \
|
among many other things, as a lingua franca for spreadsheets, \
|
||||||
and for certain web services.
|
and for certain web services.
|
||||||
|
|
||||||
%global ghc_pkg_deps ghc-parsec-devel
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# fedora ghc archs:
|
ExclusiveArch: %{ghc_arches}
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc-rpm-macros
|
||||||
# macros for building haskell packages
|
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
||||||
BuildRequires: hscolour
|
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-filepath-prof, ghc-parsec-prof
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
|
@ -53,6 +49,9 @@ BuildRequires: hscolour
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 0.1.2-10
|
||||||
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
||||||
|
|
||||||
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 0.1.2-9
|
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 0.1.2-9
|
||||||
- Update to cabal2spec-0.22.7
|
- Update to cabal2spec-0.22.7
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue