use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)
This commit is contained in:
parent
672d4fb3b2
commit
a37a4e1eab
@ -4,29 +4,19 @@
|
|||||||
|
|
||||||
%global common_description %{common_summary}
|
%global common_description %{common_summary}
|
||||||
|
|
||||||
%bcond_without shared
|
|
||||||
%bcond_without hscolour
|
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.5
|
Version: 0.5.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Haskell %{pkg_name}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
ExclusiveArch: %{ghc_arches}
|
||||||
# fedora ghc archs:
|
BuildRequires: ghc-Cabal-devel
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
|
||||||
BuildRequires: ghc-rpm-macros >= 0.8.1
|
|
||||||
%if %{with hscolour}
|
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -42,23 +32,21 @@ BuildRequires: hscolour
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
%ghc_lib_package
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 0.5.5-4
|
||||||
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
||||||
|
|
||||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.5.5-3
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.5.5-3
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user