update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2)
This commit is contained in:
parent
9c00c6a052
commit
f574ce667f
@ -13,7 +13,7 @@ UTF8 without truncation.
|
|||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.3.6
|
Version: 0.3.6
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -24,7 +24,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||||
BuildRequires: ghc-rpm-macros >= 0.6.0
|
BuildRequires: ghc-rpm-macros >= 0.8.1
|
||||||
|
%if %{with hscolour}
|
||||||
|
BuildRequires: hscolour
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
@ -33,33 +36,30 @@ This package provides the shared library.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cabal_configure --ghc -p
|
%ghc_lib_build
|
||||||
%cabal build
|
|
||||||
%cabal haddock
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%cabal_install
|
%ghc_lib_install
|
||||||
%cabal_pkg_conf
|
|
||||||
|
|
||||||
%ghc_gen_filelists
|
|
||||||
%ghc_strip_dynlinked
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%ghc_lib_package -o 0.3.6-5
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 0.3.6-5
|
||||||
|
- update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2)
|
||||||
|
|
||||||
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.3.6-4
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.3.6-4
|
||||||
- use ghc_strip_dynlinked (ghc-rpm-macros-0.6.0)
|
- use ghc_strip_dynlinked (ghc-rpm-macros-0.6.0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user