diff --git a/.gitignore b/.gitignore index a37accb..7af8a02 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /optparse-applicative-0.10.0.tar.gz /optparse-applicative-0.11.0.1.tar.gz /optparse-applicative-0.12.1.0.tar.gz +/optparse-applicative-0.13.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 1aa6617..51fc9b9 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,16 +1,19 @@ -# generated by cabal-rpm-0.9.11 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative +%global pkgver %{pkg_name}-%{version} + +%bcond_without tests Name: ghc-%{pkg_name} -Version: 0.12.1.0 -Release: 2%{?dist} +Version: 0.13.1.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options 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 @@ -19,6 +22,9 @@ BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +%endif # End cabal-rpm deps %description @@ -38,7 +44,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -49,6 +55,10 @@ files. %ghc_lib_install +%check +%cabal_test + + %post devel %ghc_pkg_recache @@ -66,6 +76,9 @@ files. %changelog +* Thu Feb 23 2017 Jens Petersen - 0.13.1.0-1 +- update to 0.13.1.0 + * Fri Feb 10 2017 Fedora Release Engineering - 0.12.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index c4421af..ce6ad50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cfa4c506da8535ade07b6ab4ad8197d3 optparse-applicative-0.12.1.0.tar.gz +SHA512 (optparse-applicative-0.13.1.0.tar.gz) = e04db57d381aeed1c2ced323d7c525985509fff0f36f9dcc557a8b91483185811aed1aee419bc7754dee0a12bd657db8a2287799aef336b7309a79103a5e07ea