update to cabal2spec-0.23.2
This commit is contained in:
parent
d65df1e346
commit
018e9d7819
|
@ -1,5 +1 @@
|
||||||
# rebuild.sh config file: see <http://git.fedorahosted.org/git/haskell-sig.git>
|
ghc-X11 : xmonad ghc-X11-xft :
|
||||||
|
|
||||||
echo "Prerequisites: utf8-string"
|
|
||||||
|
|
||||||
CHAIN_PKGS="ghc-X11 : xmonad ghc-X11-xft"
|
|
||||||
|
|
|
@ -13,32 +13,23 @@ extensions, see "XMonad.Doc". In particular:\
|
||||||
"XMonad.Doc.Developing", introduction to xmonad internals and writing\
|
"XMonad.Doc.Developing", introduction to xmonad internals and writing\
|
||||||
your own extensions.
|
your own extensions.
|
||||||
|
|
||||||
%global ghc_pkg_deps ghc-X11-xft-devel, ghc-utf8-string-devel, ghc-xmonad-devel
|
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.9.2
|
Version: 0.9.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: %{common_summary}
|
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
|
||||||
# fedora ghc archs:
|
ExclusiveArch: %{ghc_arches}
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
||||||
BuildRequires: hscolour
|
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-X11-xft-prof, ghc-utf8-string-prof, ghc-xmonad-prof
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
@ -57,6 +48,9 @@ This package provides the shared library.
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-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.9.2-3
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.9.2-3
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue