|
|
|
@ -1,25 +1,36 @@
|
|
|
|
|
# generated by cabal-rpm-0.9.12
|
|
|
|
|
# generated by cabal-rpm-0.11.1
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name pandoc-types
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 1.16.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.17.0.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Types for representing a structured document
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
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
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
BuildRequires: ghc-aeson-devel
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
|
BuildRequires: ghc-deepseq-generics-devel
|
|
|
|
|
BuildRequires: ghc-syb-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-string-qq-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-quickcheck2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -44,7 +55,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -55,6 +66,10 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
@ -72,6 +87,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 1.17.0.5-1
|
|
|
|
|
- update to 1.17.0.5
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|