|
|
|
@ -1,23 +1,19 @@
|
|
|
|
|
# generated by cabal-rpm-0.11.1
|
|
|
|
|
# generated by cabal-rpm-0.12
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name aeson
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%global timelocalecompat time-locale-compat-0.1.1.3
|
|
|
|
|
%global subpkgs %{timelocalecompat}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 1.0.2.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Fast JSON parsing and encoding
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
Source1: https://hackage.haskell.org/package/%{timelocalecompat}/%{timelocalecompat}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
@ -34,7 +30,7 @@ BuildRequires: ghc-tagged-devel
|
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
|
#BuildRequires: ghc-time-locale-compat-devel
|
|
|
|
|
BuildRequires: ghc-time-locale-compat-devel
|
|
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
|
|
|
BuildRequires: ghc-vector-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -59,35 +55,27 @@ high performance. Aeson was the father of Jason in Greek mythology.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
|
|
|
%if %{defined ghc_version}
|
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
|
%ghc_lib_subpackage %{subpkgs}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkgver} -a1
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ghc_libs_build %{subpkgs}
|
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%ghc_libs_install %{subpkgs}
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -112,6 +100,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jan 12 2018 Jens Petersen <petersen@redhat.com> - 1.0.2.1-8
|
|
|
|
|
- time-locale-compat is now packaged
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|