|
|
@ -4,12 +4,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.6.2.1
|
|
|
|
Version: 0.6.2.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Fast JSON parsing and encoding
|
|
|
|
Summary: Fast JSON parsing and encoding
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
# for archs without ghci
|
|
|
|
|
|
|
|
Patch1: aeson-disable-TH.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
@ -29,7 +31,6 @@ BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
|
|
BuildRequires: ghc-vector-devel
|
|
|
|
BuildRequires: ghc-vector-devel
|
|
|
|
ExclusiveArch: %{ghc_arches_with_ghci}
|
|
|
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -51,6 +52,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
%ifnarch %{ghc_arches_with_ghci}
|
|
|
|
|
|
|
|
%patch1 -p1 -b .orig
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -78,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Apr 20 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-2
|
|
|
|
|
|
|
|
- disable TH module on arch's without ghci
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-1
|
|
|
|
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-1
|
|
|
|
- update to 0.6.2.1
|
|
|
|
- update to 0.6.2.1
|
|
|
|
|
|
|
|
|
|
|
|