From 616551f885f52b5d26751ce7823e71be8c72b4c0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 1 Feb 2016 23:44:26 +0900 Subject: [PATCH] Reverting "use license macro; add tarball" Reverting "update to 0.10.13" This reverts commit ded0b7b6d4b638efff2d1422ce8e991bf7405705. --- .gitignore | 1 - ghc-cmdargs.spec | 36 ++++++++---------------------------- sources | 2 +- 3 files changed, 9 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 06e08e7..bffc27b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,3 @@ /cmdargs-0.10.2.tar.gz /cmdargs-0.10.3.tar.gz /cmdargs-0.10.12.tar.gz -/cmdargs-0.10.13.tar.gz diff --git a/ghc-cmdargs.spec b/ghc-cmdargs.spec index 75896a8..859d845 100644 --- a/ghc-cmdargs.spec +++ b/ghc-cmdargs.spec @@ -3,8 +3,8 @@ %global pkg_name cmdargs Name: ghc-%{pkg_name} -Version: 0.10.13 -Release: 1%{?dist} +Version: 0.10.12 +Release: 2%{?dist} Summary: Command line argument processing License: BSD @@ -18,28 +18,10 @@ 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. 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 -. +This library provides an easy way to define command line parsers. %package devel @@ -57,6 +39,10 @@ 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 @@ -65,8 +51,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %post devel %ghc_pkg_recache @@ -77,7 +61,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files @@ -85,10 +69,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog -* Sat Aug 08 2015 Ben Boeckel - 0.10.13-1 -- update to 0.10.13 -- use license macro - * Wed Jun 17 2015 Fedora Release Engineering - 0.10.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 30ea20c..cdcd16d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f713f07f1b9081c10c27620b2c807c61 cmdargs-0.10.13.tar.gz +b962dc0472be507631f43f70b13b3157 cmdargs-0.10.12.tar.gz