disable quotation on archs without ghci

This commit is contained in:
Jens Petersen 2014-04-24 11:18:15 +09:00
parent 489ea33d5c
commit 4f1d2d3bd7
1 changed files with 8 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Name: ghc-%{pkg_name}
Version: 0.10.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Command line argument processing
License: BSD
@ -18,7 +18,6 @@ BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-transformers-devel
ExclusiveArch: %{ghc_arches_with_ghci}
# End cabal-rpm deps
%description
@ -39,6 +38,10 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%ifnarch %{ghc_arches_with_ghci}
cabal-tweak-flag quotation False
%endif
%build
%ghc_lib_build
@ -64,6 +67,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Thu Apr 24 2014 Jens Petersen <petersen@redhat.com> - 0.10.3-3
- disable quotation on archs without ghci
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild