From 04b09e90f0f9b60272d8beba268d81ab336cfaf1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2016 22:59:45 +0900 Subject: [PATCH] drop TH patch for not %ghc_arches_with_ghci --- aeson-disable-TH.patch | 10 ---------- ghc-aeson.spec | 5 ----- 2 files changed, 15 deletions(-) delete mode 100644 aeson-disable-TH.patch diff --git a/aeson-disable-TH.patch b/aeson-disable-TH.patch deleted file mode 100644 index 7257382..0000000 --- a/aeson-disable-TH.patch +++ /dev/null @@ -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 diff --git a/ghc-aeson.spec b/ghc-aeson.spec index cc26443..de1b256 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -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