BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)
This commit is contained in:
parent
f73803da12
commit
6b3d42bb66
|
@ -4,23 +4,20 @@
|
|||
|
||||
%global common_description A logging framework for Haskell
|
||||
|
||||
%global ghc_pkg_deps ghc-mtl-devel,ghc-network-devel
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.1.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
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
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
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-network-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -40,10 +37,13 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|||
install -p -m 644 COPYING ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}
|
||||
|
||||
|
||||
%{?ghc_lib_package}
|
||||
%ghc_lib_package
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 1.1.4-2
|
||||
- BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)
|
||||
|
||||
* Fri Mar 11 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 1.1.4-1
|
||||
- upgrade to hslogger-1.1.4
|
||||
|
||||
|
|
Loading…
Reference in New Issue