From 884bf258c3bc0ca6ee974df0f41f89ead87f6f55 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 28 Apr 2014 12:04:55 +0000 Subject: [PATCH 01/53] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 175e2206ffa7a5101896a2b8ae6b182c5ad5348f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 May 2014 11:17:06 +0900 Subject: [PATCH 02/53] import (#1086444) --- .gitignore | 1 + ghc-optparse-applicative.spec | 68 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+) create mode 100644 ghc-optparse-applicative.spec diff --git a/.gitignore b/.gitignore index e69de29..7fe69aa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/optparse-applicative-0.8.0.1.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec new file mode 100644 index 0000000..9ccd1f8 --- /dev/null +++ b/ghc-optparse-applicative.spec @@ -0,0 +1,68 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name optparse-applicative + +Name: ghc-%{pkg_name} +Version: 0.8.0.1 +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 + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-ansi-wl-pprint-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-transformers-devel +# End cabal-rpm deps + +%description +Utilities and combinators for parsing command line options. + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development +files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%doc LICENSE + + +%files devel -f %{name}-devel.files +%doc README.md + + +%changelog +* Thu Apr 10 2014 Fedora Haskell SIG - 0.8.0.1-1 +- spec file generated by cabal-rpm-0.8.10 diff --git a/sources b/sources index e69de29..5445622 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +13ccec8236c0c5dcb3a4b5b811917cac optparse-applicative-0.8.0.1.tar.gz From d153190a18a097177a042729cb70ac9d6e4a38f9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 May 2014 11:21:01 +0900 Subject: [PATCH 03/53] testsuite would require test-framework* --- ghc-optparse-applicative.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 9ccd1f8..58fdc63 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.8.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -47,6 +47,10 @@ files. %ghc_lib_install +%check +# test-suite requires test-framework* + + %post devel %ghc_pkg_recache @@ -64,5 +68,8 @@ files. %changelog +* Mon May 5 2014 Jens Petersen - 0.8.0.1-2 +- add comment about testsuite requiring test-framework + * Thu Apr 10 2014 Fedora Haskell SIG - 0.8.0.1-1 - spec file generated by cabal-rpm-0.8.10 From 82628260884212e203f9ff74e023c52ac1a9f4a4 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Mon, 12 May 2014 06:32:47 -0400 Subject: [PATCH 04/53] latest upstream release Signed-off-by: Ricky Elrod --- .gitignore | 1 + ghc-optparse-applicative.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7fe69aa..c3001e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /optparse-applicative-0.8.0.1.tar.gz +/optparse-applicative-0.8.1.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 58fdc63..4a0c2c1 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -3,8 +3,8 @@ %global pkg_name optparse-applicative Name: ghc-%{pkg_name} -Version: 0.8.0.1 -Release: 2%{?dist} +Version: 0.8.1 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -68,7 +68,10 @@ files. %changelog -* Mon May 5 2014 Jens Petersen - 0.8.0.1-2 +* Mon May 12 2014 Ricky Elrod - 0.8.1-1 +- Latest upstream release. + +* Mon May 5 2014 Jens Petersen - 0.8.0.1-2 - add comment about testsuite requiring test-framework * Thu Apr 10 2014 Fedora Haskell SIG - 0.8.0.1-1 diff --git a/sources b/sources index 5445622..ae5473d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -13ccec8236c0c5dcb3a4b5b811917cac optparse-applicative-0.8.0.1.tar.gz +a03a7d8e1819c2d9afbb364849d4bf34 optparse-applicative-0.8.1.tar.gz From 298f3136bb3ee2a6948a8e214d306b5eb9862040 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Fri, 23 May 2014 06:28:43 -0400 Subject: [PATCH 05/53] version bump --- .gitignore | 1 + ghc-optparse-applicative.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c3001e4..b097df7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /optparse-applicative-0.8.0.1.tar.gz /optparse-applicative-0.8.1.tar.gz +/optparse-applicative-0.9.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 4a0c2c1..8ec5f9e 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -3,7 +3,7 @@ %global pkg_name optparse-applicative Name: ghc-%{pkg_name} -Version: 0.8.1 +Version: 0.9.0 Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options @@ -68,6 +68,9 @@ files. %changelog +* Fri May 23 2014 Ricky Elrod - 0.9.0-1 +- Latest upstream release. + * Mon May 12 2014 Ricky Elrod - 0.8.1-1 - Latest upstream release. diff --git a/sources b/sources index ae5473d..6016c9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a03a7d8e1819c2d9afbb364849d4bf34 optparse-applicative-0.8.1.tar.gz +9c36bc59d28980c58671d36326b4e06d optparse-applicative-0.9.0.tar.gz From 969e7179ebee5de7e8dee74065875caa4fc4f63c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Jun 2014 02:15:16 +0900 Subject: [PATCH 06/53] opt out of f21 mass rebuild due to changes staged for ghc78 --- noautobuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 noautobuild diff --git a/noautobuild b/noautobuild new file mode 100644 index 0000000..e69de29 From 78cc1b6465ad239c0c200e429de8b129b028b8b2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 8 Jul 2014 19:02:18 +0900 Subject: [PATCH 07/53] revert to 0.8.1 0.9.0 needs transformers-compat anyway --- .gitignore | 1 - ghc-optparse-applicative.spec | 8 ++++---- noautobuild | 0 sources | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 noautobuild diff --git a/.gitignore b/.gitignore index b097df7..c3001e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ /optparse-applicative-0.8.0.1.tar.gz /optparse-applicative-0.8.1.tar.gz -/optparse-applicative-0.9.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 8ec5f9e..f478bcb 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -3,8 +3,8 @@ %global pkg_name optparse-applicative Name: ghc-%{pkg_name} -Version: 0.9.0 -Release: 1%{?dist} +Version: 0.8.1 +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -68,8 +68,8 @@ files. %changelog -* Fri May 23 2014 Ricky Elrod - 0.9.0-1 -- Latest upstream release. +* Tue Jul 8 2014 Jens Petersen - 0.8.1-2 +- F21 rebuild * Mon May 12 2014 Ricky Elrod - 0.8.1-1 - Latest upstream release. diff --git a/noautobuild b/noautobuild deleted file mode 100644 index e69de29..0000000 diff --git a/sources b/sources index 6016c9a..ae5473d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9c36bc59d28980c58671d36326b4e06d optparse-applicative-0.9.0.tar.gz +a03a7d8e1819c2d9afbb364849d4bf34 optparse-applicative-0.8.1.tar.gz From f6310feac9d83c9789b9454229813083c3d91df3 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Wed, 30 Jul 2014 04:41:31 -0400 Subject: [PATCH 08/53] bump to 0.9.0 Signed-off-by: Ricky Elrod --- .gitignore | 1 + ghc-optparse-applicative.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c3001e4..b097df7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /optparse-applicative-0.8.0.1.tar.gz /optparse-applicative-0.8.1.tar.gz +/optparse-applicative-0.9.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index f478bcb..771ee63 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -3,8 +3,8 @@ %global pkg_name optparse-applicative Name: ghc-%{pkg_name} -Version: 0.8.1 -Release: 2%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -68,6 +68,9 @@ files. %changelog +* Wed Jul 30 2014 Ricky Elrod - 0.9.0-1 +- Latest upstream release. + * Tue Jul 8 2014 Jens Petersen - 0.8.1-2 - F21 rebuild diff --git a/sources b/sources index ae5473d..6016c9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a03a7d8e1819c2d9afbb364849d4bf34 optparse-applicative-0.8.1.tar.gz +9c36bc59d28980c58671d36326b4e06d optparse-applicative-0.9.0.tar.gz From be423f2aab07d58fdc53e78d80f48b7c0860921c Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Wed, 30 Jul 2014 04:49:54 -0400 Subject: [PATCH 09/53] add transformers-compat Signed-off-by: Ricky Elrod --- ghc-optparse-applicative.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 771ee63..c7db0d2 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -17,6 +17,7 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-compat-devel # End cabal-rpm deps %description From a0025317366f8a49d3deacd2767fddde02afadfe Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 15:32:11 +0000 Subject: [PATCH 10/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index c7db0d2..db9eb42 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -69,6 +69,9 @@ files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Wed Jul 30 2014 Ricky Elrod - 0.9.0-1 - Latest upstream release. From 032147378b1c660b67a4e993e9c937c3b83dfdad Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Tue, 23 Sep 2014 09:39:30 -0400 Subject: [PATCH 11/53] Latest upstream release Signed-off-by: Ricky Elrod --- .gitignore | 1 + ghc-optparse-applicative.spec | 10 ++++++++-- sources | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b097df7..9e5f4f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /optparse-applicative-0.8.0.1.tar.gz /optparse-applicative-0.8.1.tar.gz /optparse-applicative-0.9.0.tar.gz +/optparse-applicative-0.10.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index db9eb42..b908e5e 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -2,9 +2,12 @@ %global pkg_name optparse-applicative +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} -Version: 0.9.0 -Release: 2%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -69,6 +72,9 @@ files. %changelog +* Tue Sep 23 2014 Ricky Elrod - 0.10.0-1 +- Latest upstream release. + * Sat Aug 16 2014 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 6016c9a..8dda65a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9c36bc59d28980c58671d36326b4e06d optparse-applicative-0.9.0.tar.gz +042f883017e152f486329d4dd30f6908 optparse-applicative-0.10.0.tar.gz From 0e043d58decd836792b9734c29e4db1498d18a93 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Fri, 10 Oct 2014 16:03:50 -0400 Subject: [PATCH 12/53] 0.11.0.1 Signed-off-by: Ricky Elrod --- .gitignore | 1 + ghc-optparse-applicative.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9e5f4f4..cce144e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /optparse-applicative-0.8.1.tar.gz /optparse-applicative-0.9.0.tar.gz /optparse-applicative-0.10.0.tar.gz +/optparse-applicative-0.11.0.1.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index b908e5e..2804a5d 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -6,7 +6,7 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -Version: 0.10.0 +Version: 0.11.0.1 Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options @@ -72,6 +72,9 @@ files. %changelog +* Fri Oct 10 2014 Ricky Elrod - 0.11.0.1-1 +- Latest upstream release. + * Tue Sep 23 2014 Ricky Elrod - 0.10.0-1 - Latest upstream release. diff --git a/sources b/sources index 8dda65a..2a0ea82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -042f883017e152f486329d4dd30f6908 optparse-applicative-0.10.0.tar.gz +f11885a62175815d20d53698aebaa850 optparse-applicative-0.11.0.1.tar.gz From 7c8d07b344a516f684e9cfe79dd8b6ae2a5e501c Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Tue, 4 Nov 2014 16:36:33 -0500 Subject: [PATCH 13/53] ExclusiveArch Signed-off-by: Ricky Elrod --- ghc-optparse-applicative.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 2804a5d..620769a 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 0.11.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -23,6 +23,8 @@ BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-compat-devel # End cabal-rpm deps +ExclusiveArch: %{ghc_arches_with_ghci} + %description Utilities and combinators for parsing command line options. @@ -72,6 +74,9 @@ files. %changelog +* Tue Nov 4 2014 Ricky Elrod - 0.11.0.1-2 +- Add ExclusiveArch for GHCi dependency + * Fri Oct 10 2014 Ricky Elrod - 0.11.0.1-1 - Latest upstream release. From 0ff4897aa7fc1c43970c1996c61c9bf0f6f3c57d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 5 Nov 2014 10:50:55 +0900 Subject: [PATCH 14/53] remove hlint Annotations on archs without ghci They don't actually do anything at buildtime other than triggering ghci and of course silence some hlint noise --- ghc-optparse-applicative.spec | 13 +++++++++---- optparse-applicative-remove-ANN.patch | 16 ++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 optparse-applicative-remove-ANN.patch diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 620769a..9413f9e 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,24 +7,23 @@ Name: ghc-%{pkg_name} Version: 0.11.0.1 -Release: 2%{?dist} +Release: 3%{?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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel -BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel # End cabal-rpm deps -ExclusiveArch: %{ghc_arches_with_ghci} - %description Utilities and combinators for parsing command line options. @@ -43,6 +42,9 @@ files. %prep %setup -q -n %{pkg_name}-%{version} +%ifnarch %{ghc_arches_with_ghci} +%patch0 -p1 -b .orig +%endif %build @@ -74,6 +76,9 @@ files. %changelog +* Wed Nov 5 2014 Jens Petersen - 0.11.0.1-3 +- disable hlint Annotations on archs without ghci + * Tue Nov 4 2014 Ricky Elrod - 0.11.0.1-2 - Add ExclusiveArch for GHCi dependency diff --git a/optparse-applicative-remove-ANN.patch b/optparse-applicative-remove-ANN.patch new file mode 100644 index 0000000..01b813d --- /dev/null +++ b/optparse-applicative-remove-ANN.patch @@ -0,0 +1,16 @@ +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" #-} From 0df863214c49182a1ff60801211c7b934bb75c45 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:52:46 +0000 Subject: [PATCH 15/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 9413f9e..1908153 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 0.11.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -76,6 +76,9 @@ files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.11.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed Nov 5 2014 Jens Petersen - 0.11.0.1-3 - disable hlint Annotations on archs without ghci From d743d849be05d3c525b069bd834f62115a48796c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 30 Sep 2015 13:29:34 +0900 Subject: [PATCH 16/53] update to 0.11.0.2 Annotation patch should no longer be needed since all archs have ghci --- .gitignore | 1 + ghc-optparse-applicative.spec | 24 +++++++++--------------- optparse-applicative-remove-ANN.patch | 16 ---------------- sources | 2 +- 4 files changed, 11 insertions(+), 32 deletions(-) delete mode 100644 optparse-applicative-remove-ANN.patch 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 From 5c1daa1aea1d05e76ce9e516c3931ffcf4da39c1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 00:16:29 +0900 Subject: [PATCH 17/53] Reverting "update to 0.11.0.2" This reverts commit d743d849be05d3c525b069bd834f62115a48796c. --- .gitignore | 1 - ghc-optparse-applicative.spec | 24 +++++++++++++++--------- optparse-applicative-remove-ANN.patch | 16 ++++++++++++++++ sources | 2 +- 4 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 optparse-applicative-remove-ANN.patch diff --git a/.gitignore b/.gitignore index 1f0f2ac..cce144e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ /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 f751d74..1908153 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -2,14 +2,18 @@ %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.2 -Release: 1%{?dist} +Version: 0.11.0.1 +Release: 4%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD -Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +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 @@ -38,6 +42,9 @@ files. %prep %setup -q -n %{pkg_name}-%{version} +%ifnarch %{ghc_arches_with_ghci} +%patch0 -p1 -b .orig +%endif %build @@ -47,7 +54,9 @@ files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + +%check +# test-suite requires test-framework* %post devel @@ -59,7 +68,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files @@ -67,9 +76,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %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 new file mode 100644 index 0000000..01b813d --- /dev/null +++ b/optparse-applicative-remove-ANN.patch @@ -0,0 +1,16 @@ +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 b2cd5bd..2a0ea82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fad194dc48581e65fc31f9e8402a9bdd optparse-applicative-0.11.0.2.tar.gz +f11885a62175815d20d53698aebaa850 optparse-applicative-0.11.0.1.tar.gz From d149264d09803777d68e4567c84ce25ab82ae199 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:39:34 +0000 Subject: [PATCH 18/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 1908153..ccf8656 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 0.11.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -76,6 +76,9 @@ files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.11.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.11.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 8c94cc3e76ffb1b7b4228fac255c436a02fb2d4f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2016 23:15:24 +0900 Subject: [PATCH 19/53] drop ANN patch and %ghc_arches_with_ghci --- ghc-optparse-applicative.spec | 4 ---- optparse-applicative-remove-ANN.patch | 16 ---------------- 2 files changed, 20 deletions(-) delete mode 100644 optparse-applicative-remove-ANN.patch 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" #-} From dcdf46263155bc86fe33f73f2117b5526836e68f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 26 Jun 2016 13:07:02 +0900 Subject: [PATCH 20/53] update to 0.12.1.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 23 +++++++++++------------ sources | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index cce144e..a37accb 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.12.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index c4368d2..04551f1 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,18 +1,16 @@ +# generated by cabal-rpm-0.9.11 # https://fedoraproject.org/wiki/Packaging:Haskell %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: 5%{?dist} +Version: 0.12.1.0 +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 +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 @@ -50,9 +48,7 @@ files. %install %ghc_lib_install - -%check -# test-suite requires test-framework* +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %post devel @@ -64,14 +60,17 @@ files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%doc README.md +%doc CHANGELOG.md README.md %changelog +* Sat Jun 25 2016 Jens Petersen - 0.12.1.0-1 +- update to 0.12.1.0 + * Wed Feb 03 2016 Fedora Release Engineering - 0.11.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 2a0ea82..c4421af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f11885a62175815d20d53698aebaa850 optparse-applicative-0.11.0.1.tar.gz +cfa4c506da8535ade07b6ab4ad8197d3 optparse-applicative-0.12.1.0.tar.gz From 58db04dc1cb6d811dffc3e6c48d1c74d6c94d335 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 19:15:47 +0900 Subject: [PATCH 21/53] no longer remove license --- ghc-optparse-applicative.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 04551f1..72b26f9 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -48,8 +48,6 @@ files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %post devel %ghc_pkg_recache From e967fac0716050853f4d0fdf2410b9fe19c6cd9f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:45:21 +0000 Subject: [PATCH 22/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 72b26f9..1aa6617 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -66,6 +66,9 @@ files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.12.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Sat Jun 25 2016 Jens Petersen - 0.12.1.0-1 - update to 0.12.1.0 From 5c0f21cca5408e5a0612c1cc4c22010bf6da278a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Feb 2017 09:35:16 +0900 Subject: [PATCH 23/53] update to 0.13.1.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 23 ++++++++++++++++++----- sources | 2 +- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a37accb..7af8a02 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /optparse-applicative-0.10.0.tar.gz /optparse-applicative-0.11.0.1.tar.gz /optparse-applicative-0.12.1.0.tar.gz +/optparse-applicative-0.13.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 1aa6617..51fc9b9 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,16 +1,19 @@ -# generated by cabal-rpm-0.9.11 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative +%global pkgver %{pkg_name}-%{version} + +%bcond_without tests Name: ghc-%{pkg_name} -Version: 0.12.1.0 -Release: 2%{?dist} +Version: 0.13.1.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -19,6 +22,9 @@ BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +%endif # End cabal-rpm deps %description @@ -38,7 +44,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -49,6 +55,10 @@ files. %ghc_lib_install +%check +%cabal_test + + %post devel %ghc_pkg_recache @@ -66,6 +76,9 @@ files. %changelog +* Thu Feb 23 2017 Jens Petersen - 0.13.1.0-1 +- update to 0.13.1.0 + * Fri Feb 10 2017 Fedora Release Engineering - 0.12.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index c4421af..ce6ad50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cfa4c506da8535ade07b6ab4ad8197d3 optparse-applicative-0.12.1.0.tar.gz +SHA512 (optparse-applicative-0.13.1.0.tar.gz) = e04db57d381aeed1c2ced323d7c525985509fff0f36f9dcc557a8b91483185811aed1aee419bc7754dee0a12bd657db8a2287799aef336b7309a79103a5e07ea From ce33cc0cf709198e29a709ebf7d6a77b7ab3836d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:51:07 +0000 Subject: [PATCH 24/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 51fc9b9..0f3e589 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.13.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -76,6 +76,9 @@ files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.13.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Thu Feb 23 2017 Jens Petersen - 0.13.1.0-1 - update to 0.13.1.0 From 57f6a31312a3061d1dc63110eb2524966cf5c710 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:27:15 +0000 Subject: [PATCH 25/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 0f3e589..56badfc 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.13.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -76,6 +76,9 @@ files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.13.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.13.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From abbb261a146369fb2d9fbcc6e25dbe9b41ed65d6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:42 +0100 Subject: [PATCH 26/53] refresh to cabal-rpm-0.12.1 --- ghc-optparse-applicative.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 56badfc..619bb97 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -33,9 +33,12 @@ Utilities and combinators for parsing command line options. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -59,6 +62,12 @@ files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 9d8db2fc29f6d368c54742fc525d699312a80287 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:44:44 +0100 Subject: [PATCH 27/53] update to 0.14.0.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7af8a02..e210ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /optparse-applicative-0.11.0.1.tar.gz /optparse-applicative-0.12.1.0.tar.gz /optparse-applicative-0.13.1.0.tar.gz +/optparse-applicative-0.14.0.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 619bb97..33c90dd 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.13.1.0 -Release: 3%{?dist} +Version: 0.14.0.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -85,6 +85,9 @@ files. %changelog +* Wed Jan 24 2018 Jens Petersen - 0.14.0.0-1 +- update to 0.14.0.0 + * Wed Aug 02 2017 Fedora Release Engineering - 0.13.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index ce6ad50..3d68e8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.13.1.0.tar.gz) = e04db57d381aeed1c2ced323d7c525985509fff0f36f9dcc557a8b91483185811aed1aee419bc7754dee0a12bd657db8a2287799aef336b7309a79103a5e07ea +SHA512 (optparse-applicative-0.14.0.0.tar.gz) = a968f67d4f9239de3c9fdd3d05ac70518842e400363ddfca1a406fad476153d11265db288e825a5bb69baf938ccf65c8b5070f8823f304d410e4cc6b18aa3049 From e9db9bd80c32be32648525c8e6ab6615137503e4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:07 +0900 Subject: [PATCH 28/53] drop ldconfig scriptlets --- ghc-optparse-applicative.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 33c90dd..150c882 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -62,12 +62,6 @@ files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 0a13c11846fd3b2ee2081b7fc07a0a33af3881c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:57:43 +0000 Subject: [PATCH 29/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 150c882..398dce3 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -79,6 +79,9 @@ files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.14.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 0.14.0.0-1 - update to 0.14.0.0 From 4c957a2c91337811c1a0bdf5a1e6f771caf231da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:01:01 +0000 Subject: [PATCH 30/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 398dce3..f61e059 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -79,6 +79,9 @@ files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.14.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.14.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 7c172d9afc17e8dcd74183c5370b7aacfc06bfc1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 23:19:58 +0900 Subject: [PATCH 31/53] update to 0.14.2.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e210ad0..f78c1b7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /optparse-applicative-0.12.1.0.tar.gz /optparse-applicative-0.13.1.0.tar.gz /optparse-applicative-0.14.0.0.tar.gz +/optparse-applicative-0.14.2.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index f61e059..608e9e2 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.14.0.0 -Release: 3%{?dist} +Version: 0.14.2.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -79,6 +79,9 @@ files. %changelog +* Sun Jul 22 2018 Jens Petersen - 0.14.2.0-1 +- update to 0.14.2.0 + * Fri Jul 13 2018 Fedora Release Engineering - 0.14.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 3d68e8d..46b5e21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.14.0.0.tar.gz) = a968f67d4f9239de3c9fdd3d05ac70518842e400363ddfca1a406fad476153d11265db288e825a5bb69baf938ccf65c8b5070f8823f304d410e4cc6b18aa3049 +SHA512 (optparse-applicative-0.14.2.0.tar.gz) = ad2252e4501be93ccf1fd9529790b850bdb01b8f36ac9cbb4145015d7609799c9774fd42feec9c8a8b535a9d17b60e0f80b9e75ac7c92444aa5098d2b9ccc096 From c7e7e84c3e3f9c45399032b50ca2faf6e9415408 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:50:25 +0000 Subject: [PATCH 32/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 608e9e2..3c74f69 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -79,6 +79,9 @@ files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.14.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 0.14.2.0-1 - update to 0.14.2.0 From 188da403e85d7afad67d98dfba3e1b94fcc8db90 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:46:33 +0800 Subject: [PATCH 33/53] refresh to cabal-rpm-0.13 --- ghc-optparse-applicative.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 3c74f69..be4059e 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 0.14.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel BuildRequires: ghc-transformers-compat-devel @@ -47,15 +49,21 @@ files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -71,7 +79,9 @@ files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -79,6 +89,9 @@ files. %changelog +* Sun Feb 17 2019 Jens Petersen - 0.14.2.0-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.14.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 4b2d31a778c967b00fd65080df3aa8e3382fa74b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 12:06:26 +0800 Subject: [PATCH 34/53] update to 0.14.3.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f78c1b7..10a03ac 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /optparse-applicative-0.13.1.0.tar.gz /optparse-applicative-0.14.0.0.tar.gz /optparse-applicative-0.14.2.0.tar.gz +/optparse-applicative-0.14.3.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index be4059e..c97fa8c 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.14.2.0 -Release: 3%{?dist} +Version: 0.14.3.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -89,6 +89,9 @@ files. %changelog +* Thu Feb 21 2019 Jens Petersen - 0.14.3.0-1 +- update to 0.14.3.0 + * Sun Feb 17 2019 Jens Petersen - 0.14.2.0-3 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index 46b5e21..4dc5c55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.14.2.0.tar.gz) = ad2252e4501be93ccf1fd9529790b850bdb01b8f36ac9cbb4145015d7609799c9774fd42feec9c8a8b535a9d17b60e0f80b9e75ac7c92444aa5098d2b9ccc096 +SHA512 (optparse-applicative-0.14.3.0.tar.gz) = 4673aff5398328aed82928a006c62b595dcadf61e0910c258a3c6296fe089293553e13e1791c3a1af45c336d568c8e3f52938f09489a15f592849651cf0357f7 From 4dee3abca767a717d81029f5e4591fdc47880968 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:49:00 +0000 Subject: [PATCH 35/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index c97fa8c..28cff97 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -89,6 +89,9 @@ files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.14.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 0.14.3.0-1 - update to 0.14.3.0 From d4174df7052a6a75fcb40a579af3619becdea93b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:25:00 +0000 Subject: [PATCH 36/53] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-optparse-applicative.spec | 54 ++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 13 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 28cff97..83810ca 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -19,6 +19,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-ansi-wl-pprint-devel BuildRequires: ghc-process-devel @@ -35,11 +41,8 @@ Utilities and combinators for parsing command line options. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} @@ -48,6 +51,26 @@ This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%description doc +This package provides the Haskell %{pkg_name} library +documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -70,14 +93,6 @@ files. %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -88,7 +103,20 @@ files. %doc CHANGELOG.md README.md +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog +* Fri Aug 02 2019 Jens Petersen - 0.14.3.0-3 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.14.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 1990acfbc53728e44fe7d3351c98bd3cb9cc3047 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:30:56 +0800 Subject: [PATCH 37/53] BR prof for lib and static for executable --- ghc-optparse-applicative.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 83810ca..7bbf6d7 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -19,17 +19,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-ansi-wl-pprint-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-ansi-wl-pprint-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel %endif @@ -41,6 +36,7 @@ Utilities and combinators for parsing command line options. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif From 905d3d140a6139551d5ca46b13b59a3265020ee8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:08:54 +0000 Subject: [PATCH 38/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 7bbf6d7..9632c9d 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -110,6 +110,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.14.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 02 2019 Jens Petersen - 0.14.3.0-3 - add doc and prof subpackages (cabal-rpm-1.0.0) From 88fb4413bb59c2fde67c588a6c3af3716296e6c2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:51:22 +0800 Subject: [PATCH 39/53] refresh to cabal-rpm-2.0.2 --- ghc-optparse-applicative.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 9632c9d..5919e4c 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.14.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -27,6 +27,7 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-bytestring-devel %endif # End cabal-rpm deps @@ -50,6 +51,7 @@ files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library @@ -61,6 +63,7 @@ documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -89,6 +92,16 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -101,6 +114,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif @@ -110,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Wed Feb 19 2020 Jens Petersen - 0.14.3.0-5 +- refresh to cabal-rpm-2.0.2 + * Tue Jan 28 2020 Fedora Release Engineering - 0.14.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 851b26740add6f69c7800ab03a5288f557c5f7e0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 21 Feb 2020 01:26:36 +0800 Subject: [PATCH 40/53] revise .cabal --- ghc-optparse-applicative.spec | 7 +- optparse-applicative-0.14.3.0.cabal | 108 ++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+), 2 deletions(-) create mode 100644 optparse-applicative-0.14.3.0.cabal diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 5919e4c..bfe3248 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.2 +# generated by cabal-rpm-2.0.3 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name optparse-applicative @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -73,6 +74,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -125,7 +127,8 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog * Wed Feb 19 2020 Jens Petersen - 0.14.3.0-5 -- refresh to cabal-rpm-2.0.2 +- refresh to cabal-rpm-2.0.3 +- revised .cabal * Tue Jan 28 2020 Fedora Release Engineering - 0.14.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/optparse-applicative-0.14.3.0.cabal b/optparse-applicative-0.14.3.0.cabal new file mode 100644 index 0000000..c91ee17 --- /dev/null +++ b/optparse-applicative-0.14.3.0.cabal @@ -0,0 +1,108 @@ +name: optparse-applicative +version: 0.14.3.0 +x-revision: 2 +synopsis: Utilities and combinators for parsing command line options +description: + optparse-applicative is a haskell library for parsing options + on the command line, providing a powerful applicative interface + for composing these options. + . + optparse-applicative takes care of reading and validating the + arguments passed to the command line, handling and reporting + errors, generating a usage line, a comprehensive help screen, + and enabling context-sensitive bash completions. + . + See the included README for detailed instructions and examples, + which is also available on github + . +license: BSD3 +license-file: LICENSE +author: Paolo Capriotti, Huw Campbell +maintainer: huw.campbell@gmail.com +copyright: (c) 2012-2017 Paolo Capriotti +category: System, CLI, Options, Parsing +build-type: Simple +cabal-version: >= 1.8 +extra-source-files: CHANGELOG.md + README.md + tests/alt.err.txt + tests/cabal.err.txt + tests/carry.err.txt + tests/commands.err.txt + tests/commands_header.err.txt + tests/commands_header_full.err.txt + tests/dropback.err.txt + tests/hello.err.txt + tests/helponempty.err.txt + tests/helponemptysub.err.txt + tests/formatting.err.txt + tests/nested.err.txt + tests/subparsers.err.txt + +homepage: https://github.com/pcapriotti/optparse-applicative +bug-reports: https://github.com/pcapriotti/optparse-applicative/issues + +source-repository head + type: git + location: https://github.com/pcapriotti/optparse-applicative.git + +library + -- Monad-without-fail + build-depends: base <4.13 + + ghc-options: -Wall + + -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 + if impl(ghc >= 8.0) + ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances + + exposed-modules: Options.Applicative + , Options.Applicative.Arrows + , Options.Applicative.BashCompletion + , Options.Applicative.Builder + , Options.Applicative.Builder.Completer + , Options.Applicative.Builder.Internal + , Options.Applicative.Common + , Options.Applicative.Extra + , Options.Applicative.Help + , Options.Applicative.Help.Chunk + , Options.Applicative.Help.Core + , Options.Applicative.Help.Levenshtein + , Options.Applicative.Help.Pretty + , Options.Applicative.Help.Types + , Options.Applicative.Types + , Options.Applicative.Internal + + build-depends: base == 4.* + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.7 + , process >= 1.0 && < 1.7 + , ansi-wl-pprint >= 0.6.6 && < 0.7 + + if !impl(ghc >= 8) + build-depends: semigroups >= 0.10 && < 0.20 + , fail == 4.9.* + +test-suite optparse-applicative-tests + type: exitcode-stdio-1.0 + + main-is: test.hs + + ghc-options: -Wall -threaded -O2 -funbox-strict-fields + + hs-source-dirs: + tests + + other-modules: Examples.Alternatives + , Examples.Cabal + , Examples.Commands + , Examples.Formatting + , Examples.Hello + + build-depends: base + , bytestring == 0.10.* + , optparse-applicative + , QuickCheck >= 2.8 && < 2.14 + + if !impl(ghc >= 8) + build-depends: semigroups From 116d014b768b0436610f5db970880394244ed394 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:27:37 +0800 Subject: [PATCH 41/53] refresh to cabal-rpm-2.0.5 --- ghc-optparse-applicative.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index bfe3248..9050e3b 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.3 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name optparse-applicative %global pkgver %{pkg_name}-%{version} From c454f363ce44a136c1f5baa551bc6b150a00f475 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 Jun 2020 11:39:06 +0800 Subject: [PATCH 42/53] update to 0.15.1.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 7 ++-- ...bal => optparse-applicative-0.15.1.0.cabal | 35 +++++++++++++------ sources | 2 +- 4 files changed, 32 insertions(+), 13 deletions(-) rename optparse-applicative-0.14.3.0.cabal => optparse-applicative-0.15.1.0.cabal (86%) diff --git a/.gitignore b/.gitignore index 10a03ac..c15da4f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /optparse-applicative-0.14.0.0.tar.gz /optparse-applicative-0.14.2.0.tar.gz /optparse-applicative-0.14.3.0.tar.gz +/optparse-applicative-0.15.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 9050e3b..5ad766c 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.14.3.0 -Release: 5%{?dist} +Version: 0.15.1.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -126,6 +126,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Wed Jun 10 2020 Jens Petersen - 0.15.1.0-1 +- update to 0.15.1.0 + * Wed Feb 19 2020 Jens Petersen - 0.14.3.0-5 - refresh to cabal-rpm-2.0.3 - revised .cabal diff --git a/optparse-applicative-0.14.3.0.cabal b/optparse-applicative-0.15.1.0.cabal similarity index 86% rename from optparse-applicative-0.14.3.0.cabal rename to optparse-applicative-0.15.1.0.cabal index c91ee17..b398fcf 100644 --- a/optparse-applicative-0.14.3.0.cabal +++ b/optparse-applicative-0.15.1.0.cabal @@ -1,6 +1,6 @@ name: optparse-applicative -version: 0.14.3.0 -x-revision: 2 +version: 0.15.1.0 +x-revision: 1 synopsis: Utilities and combinators for parsing command line options description: optparse-applicative is a haskell library for parsing options @@ -35,26 +35,41 @@ extra-source-files: CHANGELOG.md tests/hello.err.txt tests/helponempty.err.txt tests/helponemptysub.err.txt + tests/long_equals.err.txt tests/formatting.err.txt tests/nested.err.txt + tests/optional.err.txt + tests/nested_optional.err.txt tests/subparsers.err.txt homepage: https://github.com/pcapriotti/optparse-applicative bug-reports: https://github.com/pcapriotti/optparse-applicative/issues +tested-with: + GHC==7.0.4, + GHC==7.2.2, + GHC==7.4.2, + GHC==7.6.3, + GHC==7.8.4, + GHC==7.10.3, + GHC==8.0.2, + GHC==8.2.2, + GHC==8.4.4, + GHC==8.6.5, + GHC==8.8.1 source-repository head type: git location: https://github.com/pcapriotti/optparse-applicative.git library - -- Monad-without-fail - build-depends: base <4.13 - + hs-source-dirs: src ghc-options: -Wall -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 if impl(ghc >= 8.0) - ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances + ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances + if impl(ghc < 8.8) + ghc-options: -Wnoncanonical-monadfail-instances exposed-modules: Options.Applicative , Options.Applicative.Arrows @@ -77,13 +92,13 @@ library , transformers >= 0.2 && < 0.6 , transformers-compat >= 0.3 && < 0.7 , process >= 1.0 && < 1.7 - , ansi-wl-pprint >= 0.6.6 && < 0.7 + , ansi-wl-pprint >= 0.6.8 && < 0.7 if !impl(ghc >= 8) build-depends: semigroups >= 0.10 && < 0.20 , fail == 4.9.* -test-suite optparse-applicative-tests +test-suite tests type: exitcode-stdio-1.0 main-is: test.hs @@ -100,9 +115,9 @@ test-suite optparse-applicative-tests , Examples.Hello build-depends: base - , bytestring == 0.10.* + , bytestring >= 0.9 && < 0.11 , optparse-applicative - , QuickCheck >= 2.8 && < 2.14 + , QuickCheck >= 2.8 && < 2.15 if !impl(ghc >= 8) build-depends: semigroups diff --git a/sources b/sources index 4dc5c55..44fe9b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.14.3.0.tar.gz) = 4673aff5398328aed82928a006c62b595dcadf61e0910c258a3c6296fe089293553e13e1791c3a1af45c336d568c8e3f52938f09489a15f592849651cf0357f7 +SHA512 (optparse-applicative-0.15.1.0.tar.gz) = e7ab0a2b4812bbfe7802c2d51a45a4f5a5ea162b094631dc6ee4cd79e5def4101ccb04305cfa16942926809ed656f91aa6f68c4d98e93171ca9be99ba40cc51e From 177db7ca1ce1fa6e40910eca7f67da658a2021a5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:56:14 +0800 Subject: [PATCH 43/53] refresh to cabal-rpm-2.0.6 --- ghc-optparse-applicative.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 5ad766c..5015a1f 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name optparse-applicative @@ -94,16 +94,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From 5a1bb73716256b482223b21d9dbc9072c52bd753 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:28:29 +0000 Subject: [PATCH 44/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 5015a1f..d165945 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.15.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -116,6 +116,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.15.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jun 10 2020 Jens Petersen - 0.15.1.0-1 - update to 0.15.1.0 From 1fe7a2b13ffaa25a2a860e2836ab471ae3e4a93f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:17:48 +0000 Subject: [PATCH 45/53] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index d165945..e1e5304 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.15.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -116,6 +116,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.15.1.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.15.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 3804213fe1c11523a031b809ada52003602b9b4a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:33:04 +0000 Subject: [PATCH 46/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index e1e5304..6d1cab1 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.15.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -116,6 +116,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.15.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 0.15.1.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 677f5b59450cf9172827886469c0f3549877f38e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:02:38 +0000 Subject: [PATCH 47/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 6d1cab1..ba69f98 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.15.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -116,6 +116,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.15.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.15.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 87c800ac79e01b4bd2b560ad02009b626a16bd00 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:12 +0800 Subject: [PATCH 48/53] refresh to cabal-rpm-2.0.9 --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index ba69f98..ff61142 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name optparse-applicative @@ -53,6 +53,7 @@ files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library @@ -91,7 +92,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 43523994614aefc3d374b0af44620bb478a4dcc1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:18:40 +0800 Subject: [PATCH 49/53] update to 0.16.1.0 --- .gitignore | 1 + ghc-optparse-applicative.spec | 22 +++-- optparse-applicative-0.15.1.0.cabal | 123 ---------------------------- sources | 2 +- 4 files changed, 18 insertions(+), 130 deletions(-) delete mode 100644 optparse-applicative-0.15.1.0.cabal diff --git a/.gitignore b/.gitignore index c15da4f..e8236ec 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /optparse-applicative-0.14.2.0.tar.gz /optparse-applicative-0.14.3.0.tar.gz /optparse-applicative-0.15.1.0.tar.gz +/optparse-applicative-0.16.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index ff61142..118adad 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,15 +7,14 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.15.1.0 -Release: 5%{?dist} +Version: 0.16.1.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -28,12 +27,21 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-bytestring-devel %endif # End cabal-rpm deps %description -Utilities and combinators for parsing command line options. +Optparse-applicative is a haskell library for parsing options on the command +line, and providing a powerful applicative interface for composing them. + +optparse-applicative takes care of reading and validating the arguments passed +to the command line, handling and reporting errors, generating a usage line, a +comprehensive help screen, and enabling context-sensitive bash, zsh, and fish +completions. + +See the included README for detailed instructions and examples, which is also +available on github . + %package devel Summary: Haskell %{pkg_name} library development files @@ -75,7 +83,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -119,6 +126,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 0.16.1.0-1 +- update to 0.16.1.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.15.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/optparse-applicative-0.15.1.0.cabal b/optparse-applicative-0.15.1.0.cabal deleted file mode 100644 index b398fcf..0000000 --- a/optparse-applicative-0.15.1.0.cabal +++ /dev/null @@ -1,123 +0,0 @@ -name: optparse-applicative -version: 0.15.1.0 -x-revision: 1 -synopsis: Utilities and combinators for parsing command line options -description: - optparse-applicative is a haskell library for parsing options - on the command line, providing a powerful applicative interface - for composing these options. - . - optparse-applicative takes care of reading and validating the - arguments passed to the command line, handling and reporting - errors, generating a usage line, a comprehensive help screen, - and enabling context-sensitive bash completions. - . - See the included README for detailed instructions and examples, - which is also available on github - . -license: BSD3 -license-file: LICENSE -author: Paolo Capriotti, Huw Campbell -maintainer: huw.campbell@gmail.com -copyright: (c) 2012-2017 Paolo Capriotti -category: System, CLI, Options, Parsing -build-type: Simple -cabal-version: >= 1.8 -extra-source-files: CHANGELOG.md - README.md - tests/alt.err.txt - tests/cabal.err.txt - tests/carry.err.txt - tests/commands.err.txt - tests/commands_header.err.txt - tests/commands_header_full.err.txt - tests/dropback.err.txt - tests/hello.err.txt - tests/helponempty.err.txt - tests/helponemptysub.err.txt - tests/long_equals.err.txt - tests/formatting.err.txt - tests/nested.err.txt - tests/optional.err.txt - tests/nested_optional.err.txt - tests/subparsers.err.txt - -homepage: https://github.com/pcapriotti/optparse-applicative -bug-reports: https://github.com/pcapriotti/optparse-applicative/issues -tested-with: - GHC==7.0.4, - GHC==7.2.2, - GHC==7.4.2, - GHC==7.6.3, - GHC==7.8.4, - GHC==7.10.3, - GHC==8.0.2, - GHC==8.2.2, - GHC==8.4.4, - GHC==8.6.5, - GHC==8.8.1 - -source-repository head - type: git - location: https://github.com/pcapriotti/optparse-applicative.git - -library - hs-source-dirs: src - ghc-options: -Wall - - -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 - if impl(ghc >= 8.0) - ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances - if impl(ghc < 8.8) - ghc-options: -Wnoncanonical-monadfail-instances - - exposed-modules: Options.Applicative - , Options.Applicative.Arrows - , Options.Applicative.BashCompletion - , Options.Applicative.Builder - , Options.Applicative.Builder.Completer - , Options.Applicative.Builder.Internal - , Options.Applicative.Common - , Options.Applicative.Extra - , Options.Applicative.Help - , Options.Applicative.Help.Chunk - , Options.Applicative.Help.Core - , Options.Applicative.Help.Levenshtein - , Options.Applicative.Help.Pretty - , Options.Applicative.Help.Types - , Options.Applicative.Types - , Options.Applicative.Internal - - build-depends: base == 4.* - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.7 - , process >= 1.0 && < 1.7 - , ansi-wl-pprint >= 0.6.8 && < 0.7 - - if !impl(ghc >= 8) - build-depends: semigroups >= 0.10 && < 0.20 - , fail == 4.9.* - -test-suite tests - type: exitcode-stdio-1.0 - - main-is: test.hs - - ghc-options: -Wall -threaded -O2 -funbox-strict-fields - - hs-source-dirs: - tests - - other-modules: Examples.Alternatives - , Examples.Cabal - , Examples.Commands - , Examples.Formatting - , Examples.Hello - - build-depends: base - , bytestring >= 0.9 && < 0.11 - , optparse-applicative - , QuickCheck >= 2.8 && < 2.15 - - if !impl(ghc >= 8) - build-depends: semigroups diff --git a/sources b/sources index 44fe9b0..85227e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.15.1.0.tar.gz) = e7ab0a2b4812bbfe7802c2d51a45a4f5a5ea162b094631dc6ee4cd79e5def4101ccb04305cfa16942926809ed656f91aa6f68c4d98e93171ca9be99ba40cc51e +SHA512 (optparse-applicative-0.16.1.0.tar.gz) = 46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710 From c105492d5da9e694dfd8388ba6b5b66af2bb9c57 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 20:55:27 +0800 Subject: [PATCH 50/53] revise .cabal --- ghc-optparse-applicative.spec | 3 + optparse-applicative-0.16.1.0.cabal | 132 ++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 optparse-applicative-0.16.1.0.cabal diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 118adad..10869fe 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -15,9 +15,11 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-ansi-wl-pprint-prof @@ -83,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup diff --git a/optparse-applicative-0.16.1.0.cabal b/optparse-applicative-0.16.1.0.cabal new file mode 100644 index 0000000..07c4ba3 --- /dev/null +++ b/optparse-applicative-0.16.1.0.cabal @@ -0,0 +1,132 @@ +name: optparse-applicative +version: 0.16.1.0 +x-revision: 1 +synopsis: Utilities and combinators for parsing command line options +description: + optparse-applicative is a haskell library for parsing options + on the command line, and providing a powerful applicative + interface for composing them. + . + optparse-applicative takes care of reading and validating the + arguments passed to the command line, handling and reporting + errors, generating a usage line, a comprehensive help screen, + and enabling context-sensitive bash, zsh, and fish completions. + . + See the included README for detailed instructions and examples, + which is also available on github + . +license: BSD3 +license-file: LICENSE +author: Paolo Capriotti, Huw Campbell +maintainer: huw.campbell@gmail.com +copyright: (c) 2012-2017 Paolo Capriotti +category: System, CLI, Options, Parsing +build-type: Simple +cabal-version: >= 1.10 +extra-source-files: CHANGELOG.md + README.md + tests/alt.err.txt + tests/cabal.err.txt + tests/carry.err.txt + tests/commands.err.txt + tests/commands_header.err.txt + tests/commands_header_full.err.txt + tests/dropback.err.txt + tests/hello.err.txt + tests/helponempty.err.txt + tests/helponemptysub.err.txt + tests/long_equals.err.txt + tests/formatting.err.txt + tests/nested.err.txt + tests/optional.err.txt + tests/nested_optional.err.txt + tests/subparsers.err.txt + +homepage: https://github.com/pcapriotti/optparse-applicative +bug-reports: https://github.com/pcapriotti/optparse-applicative/issues +tested-with: + GHC==7.0.4, + GHC==7.2.2, + GHC==7.4.2, + GHC==7.6.3, + GHC==7.8.4, + GHC==7.10.3, + GHC==8.0.2, + GHC==8.2.2, + GHC==8.4.4, + GHC==8.6.5, + GHC==8.8.1 + +source-repository head + type: git + location: https://github.com/pcapriotti/optparse-applicative.git + +flag process + description: + Depend on the process package for Bash autocompletion + default: True + +library + hs-source-dirs: src + ghc-options: -Wall + default-language: Haskell98 + + -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 + if impl(ghc >= 8.0) + ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances + if impl(ghc < 8.8) + ghc-options: -Wnoncanonical-monadfail-instances + + exposed-modules: Options.Applicative + , Options.Applicative.Arrows + , Options.Applicative.BashCompletion + , Options.Applicative.Builder + , Options.Applicative.Builder.Completer + , Options.Applicative.Builder.Internal + , Options.Applicative.Common + , Options.Applicative.Extra + , Options.Applicative.Help + , Options.Applicative.Help.Chunk + , Options.Applicative.Help.Core + , Options.Applicative.Help.Levenshtein + , Options.Applicative.Help.Pretty + , Options.Applicative.Help.Types + , Options.Applicative.NonEmpty + , Options.Applicative.Types + , Options.Applicative.Internal + + build-depends: base == 4.* + , transformers >= 0.2 && < 0.7 + , transformers-compat >= 0.3 && < 0.8 + , ansi-wl-pprint >= 0.6.8 && < 0.7 + + if flag(process) + build-depends: process >= 1.0 && < 1.7 + + if !impl(ghc >= 8) + build-depends: semigroups >= 0.10 && < 0.20 + , fail == 4.9.* + +test-suite tests + type: exitcode-stdio-1.0 + + main-is: test.hs + + ghc-options: -Wall -threaded -O2 -funbox-strict-fields + + hs-source-dirs: tests + + default-language: Haskell98 + + other-modules: Examples.Alternatives + , Examples.Cabal + , Examples.Commands + , Examples.Formatting + , Examples.Hello + + build-depends: base + , optparse-applicative + , QuickCheck >= 2.8 && < 2.15 + + if !impl(ghc >= 8) + build-depends: semigroups From 706d6f4e5bc7acad57f3180b2c8addaffa2ee7e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:19:10 +0000 Subject: [PATCH 51/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-optparse-applicative.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index 10869fe..7e58d56 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.16.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD @@ -129,6 +129,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.16.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.16.1.0-1 - update to 0.16.1.0 From d6e17bd8b413bce525adc70a0cf467b2b09ebeea Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 Jun 2022 00:21:41 +0800 Subject: [PATCH 52/53] revise .cabal --- optparse-applicative-0.16.1.0.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/optparse-applicative-0.16.1.0.cabal b/optparse-applicative-0.16.1.0.cabal index 07c4ba3..794d71c 100644 --- a/optparse-applicative-0.16.1.0.cabal +++ b/optparse-applicative-0.16.1.0.cabal @@ -1,6 +1,6 @@ name: optparse-applicative version: 0.16.1.0 -x-revision: 1 +x-revision: 2 synopsis: Utilities and combinators for parsing command line options description: optparse-applicative is a haskell library for parsing options @@ -104,7 +104,7 @@ library build-depends: process >= 1.0 && < 1.7 if !impl(ghc >= 8) - build-depends: semigroups >= 0.10 && < 0.20 + build-depends: semigroups >= 0.10 && < 0.21 , fail == 4.9.* test-suite tests From 68592f46f7e9a2b1d52d6ac03d7dc25c693c8e7e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:49:53 +0300 Subject: [PATCH 53/53] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index 85227e2..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (optparse-applicative-0.16.1.0.tar.gz) = 46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710