|
|
|
@ -3,6 +3,7 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name yaml
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1374137
|
|
|
|
|
%global subpkgver enclosed-exceptions-1.0.2
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
@ -18,7 +19,7 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
Source1: http://hackage.haskell.org/package/%{subpkgver}/%{subpkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
|
BuildRequires: ghc-rpm-macros-extra >= 1.6.7
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: ghc-aeson-devel
|
|
|
|
@ -98,6 +99,7 @@ rm -r libyaml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
cd %{pkg_name}-%{version}
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|