diff --git a/.gitignore b/.gitignore index cce144e..1f0f2ac 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /optparse-applicative-0.9.0.tar.gz /optparse-applicative-0.10.0.tar.gz /optparse-applicative-0.11.0.1.tar.gz +/optparse-applicative-0.11.0.2.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 1908153..f751d74 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -2,18 +2,14 @@ %global pkg_name optparse-applicative -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: ghc-%{pkg_name} -Version: 0.11.0.1 -Release: 4%{?dist} +Version: 0.11.0.2 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch0: optparse-applicative-remove-ANN.patch +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -42,9 +38,6 @@ files. %prep %setup -q -n %{pkg_name}-%{version} -%ifnarch %{ghc_arches_with_ghci} -%patch0 -p1 -b .orig -%endif %build @@ -54,9 +47,7 @@ files. %install %ghc_lib_install - -%check -# test-suite requires test-framework* +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %post devel @@ -68,7 +59,7 @@ files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files @@ -76,6 +67,9 @@ files. %changelog +* Wed Sep 30 2015 Jens Petersen - 0.11.0.2-1 +- update to 0.11.0.2 + * Wed Jun 17 2015 Fedora Release Engineering - 0.11.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/optparse-applicative-remove-ANN.patch b/optparse-applicative-remove-ANN.patch deleted file mode 100644 index 01b813d..0000000 --- a/optparse-applicative-remove-ANN.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up optparse-applicative-0.11.0.1/Options/Applicative.hs~ optparse-applicative-0.11.0.1/Options/Applicative.hs ---- optparse-applicative-0.11.0.1/Options/Applicative.hs~ 2014-10-06 02:01:26.000000000 +0900 -+++ optparse-applicative-0.11.0.1/Options/Applicative.hs 2014-11-05 10:42:59.741567059 +0900 -@@ -35,4 +35,3 @@ import Options.Applicative.Builder - import Options.Applicative.Builder.Completer - import Options.Applicative.Extra - --{-# ANN module "HLint: ignore Use import/export shortcut" #-} -diff -up optparse-applicative-0.11.0.1/Options/Applicative/Help/Core.hs~ optparse-applicative-0.11.0.1/Options/Applicative/Help/Core.hs ---- optparse-applicative-0.11.0.1/Options/Applicative/Help/Core.hs~ 2014-10-06 02:01:26.000000000 +0900 -+++ optparse-applicative-0.11.0.1/Options/Applicative/Help/Core.hs 2014-11-05 10:43:34.110704025 +0900 -@@ -140,4 +140,3 @@ parserUsage pprefs p progn = hsep - , string progn - , align (extractChunk (briefDesc pprefs p)) ] - --{-# ANN footerHelp "HLint: ignore Eta reduce" #-} diff --git a/sources b/sources index 2a0ea82..b2cd5bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f11885a62175815d20d53698aebaa850 optparse-applicative-0.11.0.1.tar.gz +fad194dc48581e65fc31f9e8402a9bdd optparse-applicative-0.11.0.2.tar.gz