forked from pool/ghc-aeson
Accepting request 257529 from openSUSE:Factory:PowerPC
- disable TH module on arch's without ghci aeson-disable-TH.patch OBS-URL: https://build.opensuse.org/request/show/257529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=4
This commit is contained in:
parent
23f8238fa0
commit
dfe66d9401
10
aeson-disable-TH.patch
Normal file
10
aeson-disable-TH.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- aeson-0.6.2.1/aeson.cabal~ 2013-10-14 12:59:08.000000000 +0900
|
||||
+++ aeson-0.6.2.1/aeson.cabal 2014-04-20 15:03:05.037735911 +0900
|
||||
@@ -98,7 +98,6 @@
|
||||
Data.Aeson.Generic
|
||||
Data.Aeson.Parser
|
||||
Data.Aeson.Types
|
||||
- Data.Aeson.TH
|
||||
|
||||
other-modules:
|
||||
Data.Aeson.Functions
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 18 14:50:27 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
- disable TH module on arch's without ghci
|
||||
aeson-disable-TH.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 19:50:03 UTC 2013 - sbahling@suse.com
|
||||
|
||||
|
@ -27,6 +27,7 @@ Group: System/Libraries
|
||||
|
||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Patch0: aeson-disable-TH.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
@ -75,6 +76,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%ifnarch %{ghc_arches_with_ghci}
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
Reference in New Issue
Block a user