drop TH patch for not %ghc_arches_with_ghci

This commit is contained in:
Jens Petersen 2016-03-07 22:59:45 +09:00
parent ddb1fa7283
commit 04b09e90f0
2 changed files with 0 additions and 15 deletions

View File

@ -1,10 +0,0 @@
--- aeson-0.8.0.2/aeson.cabal~ 2015-01-26 14:40:59.738569354 +0900
+++ aeson-0.8.0.2/aeson.cabal 2015-01-26 14:44:24.394504016 +0900
@@ -87,7 +87,6 @@
Data.Aeson.Generic
Data.Aeson.Parser
Data.Aeson.Types
- Data.Aeson.TH
other-modules:
Data.Aeson.Encode.ByteString

View File

@ -12,8 +12,6 @@ Summary: Fast JSON parsing and encoding
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
# for archs without ghci
Patch1: aeson-disable-TH.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -60,9 +58,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%ifnarch %{ghc_arches_with_ghci}
%patch1 -p1 -b .orig
%endif
%build