update to 0.10.13
This commit is contained in:
parent
2aa5dade02
commit
ded0b7b6d4
@ -3,8 +3,8 @@
|
|||||||
%global pkg_name cmdargs
|
%global pkg_name cmdargs
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.10.12
|
Version: 0.10.13
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Command line argument processing
|
Summary: Command line argument processing
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -18,10 +18,28 @@ BuildRequires: ghc-filepath-devel
|
|||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-template-haskell-devel
|
BuildRequires: ghc-template-haskell-devel
|
||||||
BuildRequires: ghc-transformers-devel
|
BuildRequires: ghc-transformers-devel
|
||||||
|
ExclusiveArch: %{ghc_arches_with_ghci}
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%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
|
||||||
|
<http://www.faqs.org/docs/artu/ch10s05.html>.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -39,10 +57,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
%ifnarch %{ghc_arches_with_ghci}
|
|
||||||
cabal-tweak-flag quotation False
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -66,9 +80,13 @@ cabal-tweak-flag quotation False
|
|||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
%{_bindir}/%{pkg_name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 08 2015 Ben Boeckel <mathstuf@gmail.com> - 0.10.13-1
|
||||||
|
- update to 0.10.13
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.12-2
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.12-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user