diff --git a/ghc-cmdargs.spec b/ghc-cmdargs.spec index 859d845..870a82b 100644 --- a/ghc-cmdargs.spec +++ b/ghc-cmdargs.spec @@ -3,8 +3,8 @@ %global pkg_name cmdargs Name: ghc-%{pkg_name} -Version: 0.10.12 -Release: 2%{?dist} +Version: 0.10.13 +Release: 1%{?dist} Summary: Command line argument processing License: BSD @@ -18,10 +18,28 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-process-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-transformers-devel +ExclusiveArch: %{ghc_arches_with_ghci} # End cabal-rpm deps %description -This library provides an easy way to define command line parsers. +This library provides an easy way to define command line parsers. Most users +will want to use the "System.Console.CmdArgs.Implicit" module, whose +documentation contains an example. + +* "System.Console.CmdArgs.Explicit" provides a way to write command line +parsers for both single mode programs (most programs) and multiple mode +programs (e.g. darcs or cabal). Parsers are defined by constructing a data +structure. + +* "System.Console.CmdArgs.Implicit" provides a way to concisely define command +line parsers, up to three times shorter than getopt. These parsers are +translated into the Explicit data type. + +* "System.Console.CmdArgs.GetOpt" provides a wrapper allowing compatiblity with +existing getopt parsers, mapping to the Explicit data type. + +For a general reference on what command line flags are commonly used, see +. %package devel @@ -39,10 +57,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -%ifnarch %{ghc_arches_with_ghci} -cabal-tweak-flag quotation False -%endif - %build %ghc_lib_build @@ -66,9 +80,13 @@ cabal-tweak-flag quotation False %files devel -f %{name}-devel.files %doc README.md +%{_bindir}/%{pkg_name} %changelog +* Sat Aug 08 2015 Ben Boeckel - 0.10.13-1 +- update to 0.10.13 + * Wed Jun 17 2015 Fedora Release Engineering - 0.10.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild