diff --git a/.gitignore b/.gitignore index b767b24..6acbc70 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pandoc-types-1.12.3.3.tar.gz /pandoc-types-1.12.4.1.tar.gz /pandoc-types-1.16.1.tar.gz +/pandoc-types-1.17.0.5.tar.gz diff --git a/ghc-pandoc-types.spec b/ghc-pandoc-types.spec index 73243e4..da6f8c5 100644 --- a/ghc-pandoc-types.spec +++ b/ghc-pandoc-types.spec @@ -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 - 1.17.0.5-1 +- update to 1.17.0.5 + * Fri Feb 10 2017 Fedora Release Engineering - 1.16.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 2253971..5536094 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9fed45bfc114c9530a16697945c20659 pandoc-types-1.16.1.tar.gz +SHA512 (pandoc-types-1.17.0.5.tar.gz) = 911ee9e7e60fc3d00f8ff7c4a71ee302542f9f2445e959a0d3cfa0e5c165baed915c687790d1844d0900b761abeebab6da0d346bb44194f6d268ba1e5a41bd27