|
|
|
@ -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 <petersen@redhat.com> - 0.13.1.0-1
|
|
|
|
|
- update to 0.13.1.0
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|