Reverting "use license macro; add tarball"

Reverting "update to 0.10.13"

This reverts commit ded0b7b6d4.
This commit is contained in:
Jens Petersen 2016-02-01 23:44:26 +09:00
parent e9c6be32a5
commit 616551f885
3 changed files with 9 additions and 30 deletions

1
.gitignore vendored
View File

@ -11,4 +11,3 @@
/cmdargs-0.10.2.tar.gz /cmdargs-0.10.2.tar.gz
/cmdargs-0.10.3.tar.gz /cmdargs-0.10.3.tar.gz
/cmdargs-0.10.12.tar.gz /cmdargs-0.10.12.tar.gz
/cmdargs-0.10.13.tar.gz

View File

@ -3,8 +3,8 @@
%global pkg_name cmdargs %global pkg_name cmdargs
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.10.13 Version: 0.10.12
Release: 1%{?dist} Release: 2%{?dist}
Summary: Command line argument processing Summary: Command line argument processing
License: BSD License: BSD
@ -18,28 +18,10 @@ 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. Most users This library provides an easy way to define command line parsers.
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
@ -57,6 +39,10 @@ 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
@ -65,8 +51,6 @@ This package provides the Haskell %{pkg_name} library development files.
%install %install
%ghc_lib_install %ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -77,7 +61,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%files -f %{name}.files %files -f %{name}.files
%license LICENSE %doc LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
@ -85,10 +69,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%changelog %changelog
* Sat Aug 08 2015 Ben Boeckel <mathstuf@gmail.com> - 0.10.13-1
- update to 0.10.13
- use license macro
* 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

View File

@ -1 +1 @@
f713f07f1b9081c10c27620b2c807c61 cmdargs-0.10.13.tar.gz b962dc0472be507631f43f70b13b3157 cmdargs-0.10.12.tar.gz