|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
# generated by cabal-rpm-0.11
|
|
|
|
|
# generated by cabal-rpm-0.11.1
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name yaml
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.8.18.7
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.8.21.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Support for parsing and rendering YAML documents
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -29,6 +30,7 @@ BuildRequires: ghc-filepath-devel
|
|
|
|
|
BuildRequires: ghc-resourcet-devel
|
|
|
|
|
BuildRequires: ghc-scientific-devel
|
|
|
|
|
BuildRequires: ghc-semigroups-devel
|
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
|
|
@ -69,7 +71,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
cabal-tweak-flag system-libyaml True
|
|
|
|
|
# remove the bundled lib
|
|
|
|
|
rm -r libyaml
|
|
|
|
@ -81,8 +83,7 @@ rm -r libyaml
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
%ghc_fix_rpath %{pkg_name}-%{version}
|
|
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -108,6 +109,9 @@ rm -r libyaml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 0.8.21.2-1
|
|
|
|
|
- update to 0.8.21.2
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.18.7-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|