update to cabal2spec-0.22.4

This commit is contained in:
Jens Petersen 2011-01-19 10:20:32 +10:00
parent febdc27296
commit 0518790ce0
1 changed files with 5 additions and 7 deletions

View File

@ -7,15 +7,12 @@ and extracting files from zip archives.
%global ghc_pkg_deps ghc-binary-devel, ghc-digest-devel, ghc-mtl-devel, ghc-utf8-string-devel, ghc-zlib-devel
%bcond_without shared
%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.1.1.6
Release: 4%{?dist}
Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -25,10 +22,8 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.8.0
%if %{with hscolour}
BuildRequires: ghc-rpm-macros >= 0.7.3
BuildRequires: hscolour
%endif
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
%description
@ -56,6 +51,9 @@ install -p -m 0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}
%changelog
* Wed Jan 19 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.6-5
- update to cabal2spec-0.22.4
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-4
- install COPYING instead