SHA256
1
0
forked from pool/ghc-aeson

Accepting request 291643 from devel:languages:haskell:pandoc

Enable Template Haskell on all platforms.

OBS-URL: https://build.opensuse.org/request/show/291643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=6
This commit is contained in:
Peter Trommler 2015-03-19 19:45:30 +00:00 committed by Git OBS Bridge
parent dfe66d9401
commit fbfee4ed2e
3 changed files with 7 additions and 16 deletions

View File

@ -1,10 +0,0 @@
--- 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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 9 15:24:35 UTC 2014 - peter.trommler@ohm-hochschule.de
- drop aeson-disable-TH.patch
* Template Haskell (TH) now available on all supprted archs
-------------------------------------------------------------------
Sat Oct 18 14:50:27 UTC 2014 - dvaleev@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-aeson
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,6 @@ 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
@ -48,7 +47,6 @@ BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
#ExclusiveArch: %{ghc_arches_with_ghci}
# End cabal-rpm deps
%description
@ -76,9 +74,6 @@ 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