update to cabal2spec-0.22.4
This commit is contained in:
parent
14b4e6c60c
commit
6358fa6cf5
@ -48,7 +48,7 @@ distilled from Hackage.
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: %{upstream_version}
|
||||
Release: 0.1%{?dist}
|
||||
Release: 0.2%{?dist}
|
||||
Summary: Standard Haskell distribution
|
||||
|
||||
Group: Development/Tools
|
||||
@ -59,10 +59,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# fedora ghc archs:
|
||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||
BuildRequires: ghc, ghc-prof
|
||||
BuildRequires: ghc-rpm-macros >= 0.8.1
|
||||
%if %{with hscolour}
|
||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||
BuildRequires: hscolour
|
||||
%endif
|
||||
%platform_progs Build
|
||||
%platform_libs devel Build
|
||||
%platform_progs
|
||||
@ -120,17 +118,12 @@ This package contains profiling libraries.
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%ghc_lib_install
|
||||
|
||||
# remove duplicate
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/LICENSE
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -n ghc-%{name}-devel
|
||||
ghc-pkg recache
|
||||
%ghc_reindex_haddock
|
||||
@ -165,6 +158,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 2011.1.0.0-0.2
|
||||
- update to cabal2spec-0.22.4
|
||||
|
||||
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 2011.1.0.0-0.1
|
||||
- update to 2011.1.0.0 alpha snapshot
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user