diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index ccf8656..c4368d2 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -13,7 +13,6 @@ 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -42,9 +41,6 @@ files. %prep %setup -q -n %{pkg_name}-%{version} -%ifnarch %{ghc_arches_with_ghci} -%patch0 -p1 -b .orig -%endif %build 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" #-}