From 9ea200d992842b3049cbb394021da036a2aa7257 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 9 Mar 2015 02:39:22 +0000 Subject: [PATCH 01/43] 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 aec291da72c8d742384856e754fc1174220bc8f1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 11 Mar 2015 15:20:19 +0900 Subject: [PATCH 02/43] import (#1075605) --- .gitignore | 1 + ghc-distributive.spec | 71 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+) create mode 100644 ghc-distributive.spec diff --git a/.gitignore b/.gitignore index e69de29..cf9cd6a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/distributive-0.4.4.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec new file mode 100644 index 0000000..ab0cc8c --- /dev/null +++ b/ghc-distributive.spec @@ -0,0 +1,71 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name distributive + +Name: ghc-%{pkg_name} +Version: 0.4.4 +Release: 1%{?dist} +Summary: Distributive functors -- Dual to Traversable + +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-tagged-devel +BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel +# End cabal-rpm deps + +%description +Distributive functors -- Dual to Traversable. + + +%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.markdown + + +%changelog +* Fri Jan 09 2015 Ricky Elrod - 0.4.4-1 +- update to 0.4.4 + +* Wed Mar 12 2014 Fedora Haskell SIG - 0.4 +- spec file generated by cabal-rpm-0.8.10 diff --git a/sources b/sources index e69de29..cc489e9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d8bb67dfd4b24089b73eca2a3d76ca83 distributive-0.4.4.tar.gz From 38b58c9dcf2deaeda2cb24c7152312258d00f010 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:40:13 +0000 Subject: [PATCH 03/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index ab0cc8c..3604473 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.4.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -64,6 +64,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Fri Jan 09 2015 Ricky Elrod - 0.4.4-1 - update to 0.4.4 From 3cc5fd4710a521f886c9e7b3a70d861adf26731b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:31:00 +0000 Subject: [PATCH 04/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 3604473..4a47923 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.4.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -64,6 +64,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.4.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 0de7d9f801b2145d1cb90fa91fd37b3dfdc4ee6e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 12 Aug 2016 19:00:41 +0900 Subject: [PATCH 05/43] allow transformers 0.5 --- ghc-distributive.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 4a47923..3c24474 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -37,6 +37,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %build From 574b1cbde7b62475550a28260022330a5fae2684 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Sep 2016 18:32:22 +0900 Subject: [PATCH 06/43] use %license --- ghc-distributive.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 3c24474..1c44117 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -57,7 +57,7 @@ cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files From 62aaa11815ade7842c00a80925f02a5696662406 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:38:06 +0000 Subject: [PATCH 07/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 1c44117..71933fd 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.4.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -65,6 +65,9 @@ cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 0.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From a6b00dd714717e8eda31a879e44f88b700bfdf41 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Feb 2017 14:42:06 +0900 Subject: [PATCH 08/43] update to 0.5.2 --- .gitignore | 1 + ghc-distributive.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cf9cd6a..3d4b54e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /distributive-0.4.4.tar.gz +/distributive-0.5.2.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 71933fd..c3cadce 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -3,8 +3,8 @@ %global pkg_name distributive Name: ghc-%{pkg_name} -Version: 0.4.4 -Release: 4%{?dist} +Version: 0.5.2 +Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -65,6 +65,9 @@ cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %changelog +* Thu Feb 23 2017 Jens Petersen - 0.5.2-1 +- update to 0.5.2 + * Fri Feb 10 2017 Fedora Release Engineering - 0.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index cc489e9..a127f0b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d8bb67dfd4b24089b73eca2a3d76ca83 distributive-0.4.4.tar.gz +SHA512 (distributive-0.5.2.tar.gz) = 1d16950598c25a9ce30ccd2711e085a5dba639dc0841af4fa0de1f1866fbea83142accf67fc95f230c466a5d17a5c9f2c577d6c3a72a913f7dbde77c8845175b From 9bd730efb14a79daa158e72dfa387d484346d5d3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 25 Feb 2017 16:14:31 +0900 Subject: [PATCH 09/43] refresh to cabal-rpm-0.11.1 --- ghc-distributive.spec | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index c3cadce..0b009ac 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -1,6 +1,10 @@ +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name distributive +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests Name: ghc-%{pkg_name} Version: 0.5.2 @@ -8,15 +12,22 @@ Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable 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/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-doctest-devel +BuildRequires: ghc-generic-deriving-devel +BuildRequires: ghc-hspec-devel +%endif # End cabal-rpm deps %description @@ -36,8 +47,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} -cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' +%setup -q -n %{pkgver} %build @@ -48,6 +58,10 @@ cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %ghc_lib_install +%check +%cabal_test + + %post devel %ghc_pkg_recache @@ -61,7 +75,7 @@ cabal-tweak-dep-ver transformers '< 0.5' '< 0.6' %files devel -f %{name}-devel.files -%doc README.markdown +%doc CHANGELOG.markdown README.markdown %changelog From 1fdb65118c962dca8bfb5625bc8cb8fb0c491f3e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 28 Feb 2017 20:45:29 +0900 Subject: [PATCH 10/43] subpackage base-orphans and cabal-doctest --- .gitignore | 2 ++ ghc-distributive.spec | 29 +++++++++++++++++++++++++---- sources | 2 ++ 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3d4b54e..b3b6319 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /distributive-0.4.4.tar.gz /distributive-0.5.2.tar.gz +/cabal-doctest-1.tar.gz +/base-orphans-0.5.4.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 0b009ac..326cc35 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,22 +4,29 @@ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} +%global baseorphans base-orphans-0.5.4 +%global cabaldoctest cabal-doctest-1 +%global subpkgs %{baseorphans} %{cabaldoctest} + %bcond_with tests Name: ghc-%{pkg_name} Version: 0.5.2 +# can only be reset when all subpkgs bumped Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{baseorphans}/%{baseorphans}.tar.gz +Source2: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros +BuildRequires: ghc-rpm-macros-extra # Begin cabal-rpm deps: -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-cabal-doctest-devel +#BuildRequires: ghc-base-orphans-devel +#BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel @@ -46,16 +53,29 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%global main_version %{version} + +%if %{defined ghclibdir} +%ghc_lib_subpackage %{baseorphans} +%ghc_lib_subpackage %{cabaldoctest} +%endif + +%global version %{main_version} + + %prep -%setup -q -n %{pkgver} +%setup -q -n %{pkgver} -a1 -a2 %build +%ghc_libs_build %{subpkgs} %ghc_lib_build %install +%ghc_libs_install %{subpkgs} %ghc_lib_install +%ghc_fix_rpath %{subpkgs} %check @@ -81,6 +101,7 @@ This package provides the Haskell %{pkg_name} library development files. %changelog * Thu Feb 23 2017 Jens Petersen - 0.5.2-1 - update to 0.5.2 +- subpackage base-orphans and cabal-doctest * Fri Feb 10 2017 Fedora Release Engineering - 0.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index a127f0b..cdb2bea 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ +SHA512 (cabal-doctest-1.tar.gz) = 2360f44b072123bfc9aeb23352f96777e5e2acbefd38659af26b17e7b8a4d3d332eb4bb3da7c1cb354660bb019c2a30e4323d295dbaf1356e2d6a8ffab51f82e +SHA512 (base-orphans-0.5.4.tar.gz) = 41338450e2669936ff8bedbd59954b988154f286e9beb37f4ab98983070b5a99bc3340e3b56fe2701c2a7cc3eed0d8dd549241f1b19c252ea4db8600dd5b5fab SHA512 (distributive-0.5.2.tar.gz) = 1d16950598c25a9ce30ccd2711e085a5dba639dc0841af4fa0de1f1866fbea83142accf67fc95f230c466a5d17a5c9f2c577d6c3a72a913f7dbde77c8845175b From 5679ae076d9765d6c3030ab411de2ae5bd98fc81 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:40:54 +0000 Subject: [PATCH 11/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 326cc35..a96975d 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 0.5.2 # can only be reset when all subpkgs bumped -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Thu Feb 23 2017 Jens Petersen - 0.5.2-1 - update to 0.5.2 - subpackage base-orphans and cabal-doctest From 33d1b10d84bbf63ce200c6e02c8602c2bdc51850 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:18:38 +0000 Subject: [PATCH 12/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index a96975d..be023bb 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 0.5.2 # can only be reset when all subpkgs bumped -Release: 2%{?dist} +Release: 3%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 8d788b7ecbbe15c03830d8b8d2522b2e90edc8e9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 13 Sep 2017 15:24:38 +0900 Subject: [PATCH 13/43] base-orphans is in fedora now --- ghc-distributive.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index be023bb..99e459b 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,28 +4,26 @@ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} -%global baseorphans base-orphans-0.5.4 %global cabaldoctest cabal-doctest-1 -%global subpkgs %{baseorphans} %{cabaldoctest} +%global subpkgs %{cabaldoctest} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.5.2 # can only be reset when all subpkgs bumped -Release: 3%{?dist} +Release: 4%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{baseorphans}/%{baseorphans}.tar.gz -Source2: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz +Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra # Begin cabal-rpm deps: -#BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-base-orphans-devel #BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel @@ -56,7 +54,6 @@ This package provides the Haskell %{pkg_name} library development files. %global main_version %{version} %if %{defined ghclibdir} -%ghc_lib_subpackage %{baseorphans} %ghc_lib_subpackage %{cabaldoctest} %endif @@ -64,7 +61,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkgver} -a1 -a2 +%setup -q -n %{pkgver} -a1 %build @@ -75,7 +72,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_libs_install %{subpkgs} %ghc_lib_install -%ghc_fix_rpath %{subpkgs} %check @@ -99,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Sep 13 2017 Jens Petersen - 0.5.2-4 +- base-orphans is packaged now + * Wed Aug 02 2017 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 4c7c5c2244abaeb91bd15b3d0716c8fd9e5884a8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Jan 2018 21:07:11 +0100 Subject: [PATCH 14/43] update cabal-doctest to 1.0.4 needed for ghc-8.2 --- .gitignore | 1 + ghc-distributive.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b3b6319..41e9071 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /distributive-0.5.2.tar.gz /cabal-doctest-1.tar.gz /base-orphans-0.5.4.tar.gz +/cabal-doctest-1.0.4.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 99e459b..2ff0687 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,7 +4,7 @@ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} -%global cabaldoctest cabal-doctest-1 +%global cabaldoctest cabal-doctest-1.0.4 %global subpkgs %{cabaldoctest} %bcond_with tests @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen +- update cabal-doctest to 1.0.4 + * Wed Sep 13 2017 Jens Petersen - 0.5.2-4 - base-orphans is packaged now diff --git a/sources b/sources index cdb2bea..510ca97 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (cabal-doctest-1.tar.gz) = 2360f44b072123bfc9aeb23352f96777e5e2acbefd38659af26b17e7b8a4d3d332eb4bb3da7c1cb354660bb019c2a30e4323d295dbaf1356e2d6a8ffab51f82e SHA512 (base-orphans-0.5.4.tar.gz) = 41338450e2669936ff8bedbd59954b988154f286e9beb37f4ab98983070b5a99bc3340e3b56fe2701c2a7cc3eed0d8dd549241f1b19c252ea4db8600dd5b5fab SHA512 (distributive-0.5.2.tar.gz) = 1d16950598c25a9ce30ccd2711e085a5dba639dc0841af4fa0de1f1866fbea83142accf67fc95f230c466a5d17a5c9f2c577d6c3a72a913f7dbde77c8845175b +SHA512 (cabal-doctest-1.0.4.tar.gz) = c468f7776a0dde8531b7e47af6f8722e73b0108d69393c7d859f162219aa5f730ec4159b474d643eb918dd40e53efce1f6f0a4b0eb97e32203af08f764e3ea0b From 9d1d6401eb825ec6b13d783a10a13a34ed2610ca Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:00 +0100 Subject: [PATCH 15/43] refresh to cabal-rpm-0.12.1 --- ghc-distributive.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 2ff0687..ea6ad58 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -42,9 +42,12 @@ Distributive functors -- Dual to Traversable. %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 @@ -78,6 +81,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From a81a8d3e7d30039bd84b4af98557ddbd1e31881c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:28:17 +0100 Subject: [PATCH 16/43] update to 0.5.3 --- .gitignore | 1 + ghc-distributive.spec | 7 +++++-- sources | 4 +--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 41e9071..25d79e5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /cabal-doctest-1.tar.gz /base-orphans-0.5.4.tar.gz /cabal-doctest-1.0.4.tar.gz +/distributive-0.5.3.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec index ea6ad58..446e4b3 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -10,9 +10,9 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.2 +Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 4%{?dist} +Release: 5%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 0.5.3-5 +- update to 0.5.3 + * Wed Jan 24 2018 Jens Petersen - update cabal-doctest to 1.0.4 diff --git a/sources b/sources index 510ca97..3172b2c 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -SHA512 (base-orphans-0.5.4.tar.gz) = 41338450e2669936ff8bedbd59954b988154f286e9beb37f4ab98983070b5a99bc3340e3b56fe2701c2a7cc3eed0d8dd549241f1b19c252ea4db8600dd5b5fab -SHA512 (distributive-0.5.2.tar.gz) = 1d16950598c25a9ce30ccd2711e085a5dba639dc0841af4fa0de1f1866fbea83142accf67fc95f230c466a5d17a5c9f2c577d6c3a72a913f7dbde77c8845175b -SHA512 (cabal-doctest-1.0.4.tar.gz) = c468f7776a0dde8531b7e47af6f8722e73b0108d69393c7d859f162219aa5f730ec4159b474d643eb918dd40e53efce1f6f0a4b0eb97e32203af08f764e3ea0b +SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 From 1b6d0efc60a720e47e1feae42ddc63f47d16d621 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 27 Jan 2018 18:48:01 +0100 Subject: [PATCH 17/43] add cabal-doctest tarball --- sources | 1 + 1 file changed, 1 insertion(+) diff --git a/sources b/sources index 3172b2c..45a3598 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (cabal-doctest-1.0.4.tar.gz) = c468f7776a0dde8531b7e47af6f8722e73b0108d69393c7d859f162219aa5f730ec4159b474d643eb918dd40e53efce1f6f0a4b0eb97e32203af08f764e3ea0b SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 From 7469266ff15e46d15f39b2d5a357f3e4be8f03f0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:24 +0900 Subject: [PATCH 18/43] drop ldconfig scriptlets --- ghc-distributive.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 446e4b3..c005b1a 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -81,12 +81,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From adccb84bbfcfe1858746d1b0037c3077d04c303e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:34:22 +0000 Subject: [PATCH 19/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index c005b1a..326fbdf 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 5%{?dist} +Release: 6%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -98,6 +98,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.5.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 0.5.3-5 - update to 0.5.3 From 38af4b8291f5d8ed273edee2cf32937161091939 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:44:08 +0000 Subject: [PATCH 20/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 326fbdf..7b88e37 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 6%{?dist} +Release: 7%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -98,6 +98,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.5.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ac64ec1933ded19d7b84ceac25867da51fdf3195 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 00:53:27 +0900 Subject: [PATCH 21/43] revise .cabal --- distributive-0.5.3.cabal | 107 +++++++++++++++++++++++++++++++++++++++ ghc-distributive.spec | 9 +++- 2 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 distributive-0.5.3.cabal diff --git a/distributive-0.5.3.cabal b/distributive-0.5.3.cabal new file mode 100644 index 0000000..b98e59f --- /dev/null +++ b/distributive-0.5.3.cabal @@ -0,0 +1,107 @@ +name: distributive +category: Data Structures +version: 0.5.3 +x-revision: 6 +license: BSD3 +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/distributive/ +bug-reports: http://github.com/ekmett/distributive/issues +copyright: Copyright (C) 2011-2016 Edward A. Kmett +synopsis: Distributive functors -- Dual to Traversable +description: Distributive functors -- Dual to Traversable +build-type: Custom +extra-source-files: + .travis.yml + .vim.custom + config + travis-cabal-apt-install + CHANGELOG.markdown + README.markdown + Warning.hs + +source-repository head + type: git + location: git://github.com/ekmett/distributive.git + +custom-setup + setup-depends: + base >= 4 && <5, + Cabal, + cabal-doctest >= 1 && <1.1 + +flag semigroups + manual: True + default: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + manual: True + default: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + transformers >= 0.2 && < 0.6, + transformers-compat >= 0.3 && < 1 + + hs-source-dirs: src + exposed-modules: + Data.Distributive + + if impl(ghc>=7.2) + exposed-modules: Data.Distributive.Generic + + if flag(tagged) + build-depends: tagged >= 0.7 && < 1 + + if impl(ghc>=7.2 && < 7.6) + build-depends: ghc-prim + + if impl(ghc < 8.0) + if flag(semigroups) + -- we need Functor Semi.Min etc. + build-depends: semigroups >= 0.13 && < 1 + + if impl(ghc < 7.8) + hs-source-dirs: src-compat + other-modules: Data.Coerce + + ghc-options: -Wall + +-- Verify the results of the examples +test-suite doctests + type: exitcode-stdio-1.0 + main-is: doctests.hs + build-depends: + base >= 4, + distributive, + doctest >= 0.11.1 && <0.17 + ghc-options: -Wall -threaded + hs-source-dirs: tests + +test-suite spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + + build-depends: + base >= 4 && < 5, + distributive, + generic-deriving >= 1.11 && < 2, + hspec >= 2 && < 3 + + main-is: Spec.hs + other-modules: GenericsSpec + + ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 7b88e37..03551fc 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -12,13 +12,14 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 7%{?dist} +Release: 8%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz +Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra @@ -65,6 +66,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -a1 +cp -p %{SOURCE2} %{pkg_name}.cabal %build @@ -98,6 +100,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 0.5.3-8 +- revise .cabal + * Fri Jul 13 2018 Fedora Release Engineering - 0.5.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 1b578df6b6b37420daa75e58f5eaeae730bd75ff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:25:34 +0000 Subject: [PATCH 22/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 03551fc..67e0c5a 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 8%{?dist} +Release: 9%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -100,6 +100,9 @@ cp -p %{SOURCE2} %{pkg_name}.cabal %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.5.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 0.5.3-8 - revise .cabal From b189574b18140c2cbde9da81f915acf0ffcbb434 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:44:23 +0800 Subject: [PATCH 23/43] refresh to cabal-rpm-0.13 --- ghc-distributive.spec | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 67e0c5a..8183347 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -12,18 +12,20 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 9%{?dist} +Release: 10%{?dist} Summary: Distributive functors -- Dual to Traversable 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/%{cabaldoctest}/%{cabaldoctest}.tar.gz Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra -# Begin cabal-rpm deps: BuildRequires: ghc-base-orphans-devel #BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel @@ -65,18 +67,24 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -a1 -cp -p %{SOURCE2} %{pkg_name}.cabal +cp -bp %{SOURCE2} %{pkg_name}.cabal +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_libs_build %{subpkgs} %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_libs_install %{subpkgs} %ghc_lib_install +# End cabal-rpm install %check @@ -92,7 +100,9 @@ cp -p %{SOURCE2} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -100,6 +110,9 @@ cp -p %{SOURCE2} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 0.5.3-10 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.5.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From e15ff24525141f19de7946ab4d96e4987451d0ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 23 Feb 2019 12:43:32 +0800 Subject: [PATCH 24/43] update cabal-doctest to 1.0.6 --- .gitignore | 1 + distributive-0.5.3.cabal | 214 +++++++++++++++++++-------------------- ghc-distributive.spec | 13 ++- sources | 2 +- 4 files changed, 120 insertions(+), 110 deletions(-) diff --git a/.gitignore b/.gitignore index 25d79e5..6afae64 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /base-orphans-0.5.4.tar.gz /cabal-doctest-1.0.4.tar.gz /distributive-0.5.3.tar.gz +/cabal-doctest-1.0.6.tar.gz diff --git a/distributive-0.5.3.cabal b/distributive-0.5.3.cabal index b98e59f..6ed1891 100644 --- a/distributive-0.5.3.cabal +++ b/distributive-0.5.3.cabal @@ -1,107 +1,107 @@ -name: distributive -category: Data Structures -version: 0.5.3 -x-revision: 6 -license: BSD3 -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/ekmett/distributive/ -bug-reports: http://github.com/ekmett/distributive/issues -copyright: Copyright (C) 2011-2016 Edward A. Kmett -synopsis: Distributive functors -- Dual to Traversable -description: Distributive functors -- Dual to Traversable -build-type: Custom -extra-source-files: - .travis.yml - .vim.custom - config - travis-cabal-apt-install - CHANGELOG.markdown - README.markdown - Warning.hs - -source-repository head - type: git - location: git://github.com/ekmett/distributive.git - -custom-setup - setup-depends: - base >= 4 && <5, - Cabal, - cabal-doctest >= 1 && <1.1 - -flag semigroups - manual: True - default: True - description: - You can disable the use of the `semigroups` package using `-f-semigroups`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -flag tagged - manual: True - default: True - description: - You can disable the use of the `tagged` package using `-f-tagged`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -library - build-depends: - base >= 4 && < 5, - base-orphans >= 0.5.2 && < 1, - transformers >= 0.2 && < 0.6, - transformers-compat >= 0.3 && < 1 - - hs-source-dirs: src - exposed-modules: - Data.Distributive - - if impl(ghc>=7.2) - exposed-modules: Data.Distributive.Generic - - if flag(tagged) - build-depends: tagged >= 0.7 && < 1 - - if impl(ghc>=7.2 && < 7.6) - build-depends: ghc-prim - - if impl(ghc < 8.0) - if flag(semigroups) - -- we need Functor Semi.Min etc. - build-depends: semigroups >= 0.13 && < 1 - - if impl(ghc < 7.8) - hs-source-dirs: src-compat - other-modules: Data.Coerce - - ghc-options: -Wall - --- Verify the results of the examples -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - build-depends: - base >= 4, - distributive, - doctest >= 0.11.1 && <0.17 - ghc-options: -Wall -threaded - hs-source-dirs: tests - -test-suite spec - type: exitcode-stdio-1.0 - hs-source-dirs: tests - - build-depends: - base >= 4 && < 5, - distributive, - generic-deriving >= 1.11 && < 2, - hspec >= 2 && < 3 - - main-is: Spec.hs - other-modules: GenericsSpec - - ghc-options: -Wall -threaded -rtsopts +name: distributive +category: Data Structures +version: 0.5.3 +x-revision: 6 +license: BSD3 +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/distributive/ +bug-reports: http://github.com/ekmett/distributive/issues +copyright: Copyright (C) 2011-2016 Edward A. Kmett +synopsis: Distributive functors -- Dual to Traversable +description: Distributive functors -- Dual to Traversable +build-type: Custom +extra-source-files: + .travis.yml + .vim.custom + config + travis-cabal-apt-install + CHANGELOG.markdown + README.markdown + Warning.hs + +source-repository head + type: git + location: git://github.com/ekmett/distributive.git + +custom-setup + setup-depends: + base >= 4 && <5, + Cabal, + cabal-doctest >= 1 && <1.1 + +flag semigroups + manual: True + default: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + manual: True + default: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + transformers >= 0.2 && < 0.6, + transformers-compat >= 0.3 && < 1 + + hs-source-dirs: src + exposed-modules: + Data.Distributive + + if impl(ghc>=7.2) + exposed-modules: Data.Distributive.Generic + + if flag(tagged) + build-depends: tagged >= 0.7 && < 1 + + if impl(ghc>=7.2 && < 7.6) + build-depends: ghc-prim + + if impl(ghc < 8.0) + if flag(semigroups) + -- we need Functor Semi.Min etc. + build-depends: semigroups >= 0.13 && < 1 + + if impl(ghc < 7.8) + hs-source-dirs: src-compat + other-modules: Data.Coerce + + ghc-options: -Wall + +-- Verify the results of the examples +test-suite doctests + type: exitcode-stdio-1.0 + main-is: doctests.hs + build-depends: + base >= 4, + distributive, + doctest >= 0.11.1 && <0.17 + ghc-options: -Wall -threaded + hs-source-dirs: tests + +test-suite spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + + build-depends: + base >= 4 && < 5, + distributive, + generic-deriving >= 1.11 && < 2, + hspec >= 2 && < 3 + + main-is: Spec.hs + other-modules: GenericsSpec + + ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 8183347..f0b73eb 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,7 +4,7 @@ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} -%global cabaldoctest cabal-doctest-1.0.4 +%global cabaldoctest cabal-doctest-1.0.6 %global subpkgs %{cabaldoctest} %bcond_with tests @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} Version: 0.5.3 # can only be reset when all subpkgs bumped -Release: 10%{?dist} +Release: 11%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -72,6 +72,12 @@ This package provides the Haskell %{pkg_name} library development files. cp -bp %{SOURCE2} %{pkg_name}.cabal # End cabal-rpm setup +( +cd %{cabaldoctest} +cabal-tweak-dep-ver Cabal '<2.1' '<2.5' +cabal-tweak-dep-ver base '<4.11' '<4.12' +) + %build # Begin cabal-rpm build: @@ -110,6 +116,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %changelog +* Sat Feb 23 2019 Jens Petersen - 0.5.3-11 +- update cabal-doctest to 1.0.6 + * Sun Feb 17 2019 Jens Petersen - 0.5.3-10 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index 45a3598..d38143e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (cabal-doctest-1.0.4.tar.gz) = c468f7776a0dde8531b7e47af6f8722e73b0108d69393c7d859f162219aa5f730ec4159b474d643eb918dd40e53efce1f6f0a4b0eb97e32203af08f764e3ea0b SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 +SHA512 (cabal-doctest-1.0.6.tar.gz) = f009c91f9e9d2406a2ccb7049d554291527dcb3846fd63828147e03fc4c893223929261745ab5a8fb036bcf16b3c286587d3de8daa0fff330fb3c2d6b25fa399 From 145291ddcf61690feccb4f92ec4ff1bcde8b110e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 10 Mar 2019 13:17:04 +0800 Subject: [PATCH 25/43] unsubpackage cabal-doctest --- ghc-distributive.spec | 37 +++++++++---------------------------- sources | 1 - 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index f0b73eb..3703f39 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -4,30 +4,25 @@ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} -%global cabaldoctest cabal-doctest-1.0.6 -%global subpkgs %{cabaldoctest} - %bcond_with tests Name: ghc-%{pkg_name} Version: 0.5.3 -# can only be reset when all subpkgs bumped -Release: 11%{?dist} +Release: 12%{?dist} Summary: Distributive functors -- Dual to Traversable 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/%{cabaldoctest}/%{cabaldoctest}.tar.gz -Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel -#BuildRequires: ghc-cabal-doctest-devel +BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel @@ -57,38 +52,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. -%global main_version %{version} - -%if %{defined ghclibdir} -%ghc_lib_subpackage %{cabaldoctest} -%endif - -%global version %{main_version} - - %prep # Begin cabal-rpm setup: -%setup -q -n %{pkgver} -a1 -cp -bp %{SOURCE2} %{pkg_name}.cabal +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup -( -cd %{cabaldoctest} -cabal-tweak-dep-ver Cabal '<2.1' '<2.5' -cabal-tweak-dep-ver base '<4.11' '<4.12' -) - %build # Begin cabal-rpm build: -%ghc_libs_build %{subpkgs} %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install -%ghc_libs_install %{subpkgs} %ghc_lib_install # End cabal-rpm install @@ -116,6 +94,9 @@ cabal-tweak-dep-ver base '<4.11' '<4.12' %changelog +* Sun Mar 10 2019 Jens Petersen - 0.5.3-12 +- unsubpackage cabal-doctest + * Sat Feb 23 2019 Jens Petersen - 0.5.3-11 - update cabal-doctest to 1.0.6 diff --git a/sources b/sources index d38143e..3172b2c 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 -SHA512 (cabal-doctest-1.0.6.tar.gz) = f009c91f9e9d2406a2ccb7049d554291527dcb3846fd63828147e03fc4c893223929261745ab5a8fb036bcf16b3c286587d3de8daa0fff330fb3c2d6b25fa399 From 4fb86aeced3c6b7a189259274ad13afaa963339d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:21:57 +0000 Subject: [PATCH 26/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 3703f39..b153e99 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.5.3 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -94,6 +94,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.5.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Mar 10 2019 Jens Petersen - 0.5.3-12 - unsubpackage cabal-doctest From 3696a6b42a567db263118e14a0612d57dfe41587 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:22:48 +0000 Subject: [PATCH 27/43] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-distributive.spec | 50 ++++++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index b153e99..a0e45cd 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -20,9 +20,15 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-cabal-doctest-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel @@ -40,11 +46,8 @@ Distributive functors -- Dual to Traversable. %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} @@ -52,6 +55,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} 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} @@ -75,14 +97,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -93,6 +107,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %doc CHANGELOG.markdown README.markdown +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 0.5.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 061fdc9cef3a21352c0e8e4bc54810d559f5b7a9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:33:36 +0000 Subject: [PATCH 28/43] update to 0.6 --- .gitignore | 1 + distributive-0.5.3.cabal | 107 --------------------------------------- ghc-distributive.spec | 12 ++--- sources | 2 +- 4 files changed, 8 insertions(+), 114 deletions(-) delete mode 100644 distributive-0.5.3.cabal diff --git a/.gitignore b/.gitignore index 6afae64..bd949a9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /cabal-doctest-1.0.4.tar.gz /distributive-0.5.3.tar.gz /cabal-doctest-1.0.6.tar.gz +/distributive-0.6.tar.gz diff --git a/distributive-0.5.3.cabal b/distributive-0.5.3.cabal deleted file mode 100644 index 6ed1891..0000000 --- a/distributive-0.5.3.cabal +++ /dev/null @@ -1,107 +0,0 @@ -name: distributive -category: Data Structures -version: 0.5.3 -x-revision: 6 -license: BSD3 -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/ekmett/distributive/ -bug-reports: http://github.com/ekmett/distributive/issues -copyright: Copyright (C) 2011-2016 Edward A. Kmett -synopsis: Distributive functors -- Dual to Traversable -description: Distributive functors -- Dual to Traversable -build-type: Custom -extra-source-files: - .travis.yml - .vim.custom - config - travis-cabal-apt-install - CHANGELOG.markdown - README.markdown - Warning.hs - -source-repository head - type: git - location: git://github.com/ekmett/distributive.git - -custom-setup - setup-depends: - base >= 4 && <5, - Cabal, - cabal-doctest >= 1 && <1.1 - -flag semigroups - manual: True - default: True - description: - You can disable the use of the `semigroups` package using `-f-semigroups`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -flag tagged - manual: True - default: True - description: - You can disable the use of the `tagged` package using `-f-tagged`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -library - build-depends: - base >= 4 && < 5, - base-orphans >= 0.5.2 && < 1, - transformers >= 0.2 && < 0.6, - transformers-compat >= 0.3 && < 1 - - hs-source-dirs: src - exposed-modules: - Data.Distributive - - if impl(ghc>=7.2) - exposed-modules: Data.Distributive.Generic - - if flag(tagged) - build-depends: tagged >= 0.7 && < 1 - - if impl(ghc>=7.2 && < 7.6) - build-depends: ghc-prim - - if impl(ghc < 8.0) - if flag(semigroups) - -- we need Functor Semi.Min etc. - build-depends: semigroups >= 0.13 && < 1 - - if impl(ghc < 7.8) - hs-source-dirs: src-compat - other-modules: Data.Coerce - - ghc-options: -Wall - --- Verify the results of the examples -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - build-depends: - base >= 4, - distributive, - doctest >= 0.11.1 && <0.17 - ghc-options: -Wall -threaded - hs-source-dirs: tests - -test-suite spec - type: exitcode-stdio-1.0 - hs-source-dirs: tests - - build-depends: - base >= 4 && < 5, - distributive, - generic-deriving >= 1.11 && < 2, - hspec >= 2 && < 3 - - main-is: Spec.hs - other-modules: GenericsSpec - - ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index a0e45cd..679b2d7 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.3 -Release: 13%{?dist} +Version: 0.6 +Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable 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: @@ -30,7 +29,6 @@ BuildRequires: ghc-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-tagged-devel -BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel %if %{with tests} BuildRequires: ghc-doctest-devel @@ -40,7 +38,7 @@ BuildRequires: ghc-hspec-devel # End cabal-rpm deps %description -Distributive functors -- Dual to Traversable. +Distributive functors -- Dual to 'Traversable'. %package devel @@ -77,7 +75,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 @@ -118,6 +115,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Jens Petersen - 0.6-1 +- update to 0.6 + * Thu Jul 25 2019 Fedora Release Engineering - 0.5.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3172b2c..30d70c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 +SHA512 (distributive-0.6.tar.gz) = c0e1c60d72eaa6b9b7b1dc8808a6ea34a8daa9ea97068d9faa4f2f70fe99ccc1eec6b353e0c7b05249dcc55d46b76ac799325772ad482e84f2d21c6fbff392a4 From 0eecd1a376b4c8e6445a27d254e94dab289bbe79 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:45 +0800 Subject: [PATCH 29/43] BR prof for lib and static for executable --- ghc-distributive.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 679b2d7..195d49f 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -20,16 +20,11 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cabal-doctest-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-base-orphans-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-doctest-devel BuildRequires: ghc-generic-deriving-devel @@ -44,6 +39,7 @@ Distributive functors -- Dual to 'Traversable'. %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 7703008380723b8a5147f7db6217a85cf44fca4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:35:48 +0000 Subject: [PATCH 30/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 195d49f..67be855 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 0.6-1 - update to 0.6 From 28af2dc960c81f33c7f21e46516cfb2810250f2a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:54 +0800 Subject: [PATCH 31/43] refresh to cabal-rpm-2.0.2 --- ghc-distributive.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 67be855..c3a743e 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -52,6 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -62,6 +63,7 @@ This package provides the Haskell %{pkg_name} library 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. @@ -90,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 @@ -102,6 +114,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 18724c119651fe758b15ef51b23144414d7ddcb4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 11:20:28 +0800 Subject: [PATCH 32/43] update to 0.6.1 --- .gitignore | 1 + ghc-distributive.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bd949a9..92a5070 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /distributive-0.5.3.tar.gz /cabal-doctest-1.0.6.tar.gz /distributive-0.6.tar.gz +/distributive-0.6.1.tar.gz diff --git a/ghc-distributive.spec b/ghc-distributive.spec index c3a743e..5decfd8 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6 -Release: 2%{?dist} +Version: 0.6.1 +Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 0.6.1-1 +- update to 0.6.1 + * Tue Jan 28 2020 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 30d70c1..a61e6e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.6.tar.gz) = c0e1c60d72eaa6b9b7b1dc8808a6ea34a8daa9ea97068d9faa4f2f70fe99ccc1eec6b353e0c7b05249dcc55d46b76ac799325772ad482e84f2d21c6fbff392a4 +SHA512 (distributive-0.6.1.tar.gz) = 6f14660e14ff5dfe90eb44386ed111829d4a621f77908049197ce1802b4d5ddd67ec66dadb92f8726c03f455e077ea6a5b8503e24bd5d205883d53f13cceb630 From 0c40ee22d99cb7a1c43581fae45924f39e5eb711 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:26:05 +0800 Subject: [PATCH 33/43] refresh to cabal-rpm-2.0.5 --- ghc-distributive.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 5decfd8..8f9947d 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# 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 distributive %global pkgver %{pkg_name}-%{version} @@ -85,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install +chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm install From 5ec9ea55acf56148ea82e6c4e53e755c23290278 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 8 Jun 2020 01:56:11 +0800 Subject: [PATCH 34/43] update to 0.6.2 --- .gitignore | 1 + distributive-0.6.2.cabal | 122 +++++++++++++++++++++++++++++++++++++++ ghc-distributive.spec | 8 ++- sources | 2 +- 4 files changed, 130 insertions(+), 3 deletions(-) create mode 100644 distributive-0.6.2.cabal diff --git a/.gitignore b/.gitignore index 92a5070..65aaf80 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /cabal-doctest-1.0.6.tar.gz /distributive-0.6.tar.gz /distributive-0.6.1.tar.gz +/distributive-0.6.2.tar.gz diff --git a/distributive-0.6.2.cabal b/distributive-0.6.2.cabal new file mode 100644 index 0000000..87f1a42 --- /dev/null +++ b/distributive-0.6.2.cabal @@ -0,0 +1,122 @@ +name: distributive +category: Data Structures +version: 0.6.2 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/distributive/ +bug-reports: http://github.com/ekmett/distributive/issues +copyright: Copyright (C) 2011-2016 Edward A. Kmett +synopsis: Distributive functors -- Dual to Traversable +description: Distributive functors -- Dual to @Traversable@ +build-type: Custom +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 +extra-source-files: + .hlint.yaml + .travis.yml + .vim.custom + config + travis-cabal-apt-install + CHANGELOG.markdown + README.markdown + Warning.hs + +source-repository head + type: git + location: git://github.com/ekmett/distributive.git + +custom-setup + setup-depends: + base >= 4 && <5, + Cabal, + cabal-doctest >= 1 && <1.1 + +flag semigroups + manual: True + default: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + manual: True + default: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + transformers >= 0.2 && < 0.6 + + if !impl(ghc >= 7.8) && !impl(ghcjs) + build-depends: transformers-compat >= 0.3 && < 1 + + hs-source-dirs: src + exposed-modules: + Data.Distributive + + if impl(ghc>=7.2) + exposed-modules: Data.Distributive.Generic + + if flag(tagged) + build-depends: tagged >= 0.7 && < 1 + + if impl(ghc>=7.2 && < 7.6) + build-depends: ghc-prim + + if impl(ghc < 8.0) + if flag(semigroups) + build-depends: semigroups >= 0.13 && < 1 + + if impl(ghc < 7.8) + hs-source-dirs: src-compat + other-modules: Data.Coerce + + ghc-options: -Wall + +-- Verify the results of the examples +test-suite doctests + type: exitcode-stdio-1.0 + main-is: doctests.hs + build-depends: + base >= 4, + distributive, + doctest >= 0.11.1 && <0.18 + ghc-options: -Wall -threaded + hs-source-dirs: tests + +test-suite spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + build-tool-depends: + hspec-discover:hspec-discover + + build-depends: + base >= 4 && < 5, + distributive, + generic-deriving >= 1.11 && < 2, + hspec >= 2 && < 3 + + main-is: Spec.hs + other-modules: GenericsSpec + + ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 8f9947d..57910b6 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -7,7 +7,7 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.1 +Version: 0.6.2 Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable @@ -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 @@ -85,7 +87,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm install @@ -125,6 +126,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Sun Jun 07 2020 Jens Petersen - 0.6.2-1 +- update to 0.6.2 + * Fri Feb 14 2020 Jens Petersen - 0.6.1-1 - update to 0.6.1 diff --git a/sources b/sources index a61e6e6..c23018b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.6.1.tar.gz) = 6f14660e14ff5dfe90eb44386ed111829d4a621f77908049197ce1802b4d5ddd67ec66dadb92f8726c03f455e077ea6a5b8503e24bd5d205883d53f13cceb630 +SHA512 (distributive-0.6.2.tar.gz) = aff03270f8e9ce062ef6efb7d8cc27a811a286a6107dedd931850ff7abe271725cde8f27c1a7ea76c63a0888931a0ac058b5607d2097ef5b65b4ce95538d1fe1 From 26482d76367dcea51d59066fdcc27779f3f61bf3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:54:42 +0800 Subject: [PATCH 35/43] refresh to cabal-rpm-2.0.6 --- ghc-distributive.spec | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 57910b6..bdd92b2 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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 distributive @@ -30,6 +30,7 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-doctest-devel BuildRequires: ghc-generic-deriving-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-discover-devel %endif # End cabal-rpm deps @@ -94,16 +95,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 0d3b4a6fdb09f4ea1663b3ed323170b77e4c771d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:02:50 +0000 Subject: [PATCH 36/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index bdd92b2..55d076f 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.6.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -117,6 +117,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sun Jun 07 2020 Jens Petersen - 0.6.2-1 - update to 0.6.2 From 80b2fdebdca66aa68c0b169b0b3c3cb5e3a14ef4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:06:36 +0000 Subject: [PATCH 37/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 55d076f..b30a06a 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.6.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -117,6 +117,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 6f0c9594da2b2cc1f7920be5a2f20800527385d4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:34:21 +0000 Subject: [PATCH 38/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index b30a06a..3dd8219 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.6.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -117,6 +117,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.6.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From af6b853dbb2440864ccf2e8f8b300737129545cf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Jan 2021 15:46:54 +0800 Subject: [PATCH 39/43] update to 0.6.2.1 --- .gitignore | 1 + distributive-0.6.2.cabal | 122 --------------------------------------- ghc-distributive.spec | 16 ++--- sources | 2 +- 4 files changed, 10 insertions(+), 131 deletions(-) delete mode 100644 distributive-0.6.2.cabal diff --git a/.gitignore b/.gitignore index 65aaf80..3f5ea00 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /distributive-0.6.tar.gz /distributive-0.6.1.tar.gz /distributive-0.6.2.tar.gz +/distributive-0.6.2.1.tar.gz diff --git a/distributive-0.6.2.cabal b/distributive-0.6.2.cabal deleted file mode 100644 index 87f1a42..0000000 --- a/distributive-0.6.2.cabal +++ /dev/null @@ -1,122 +0,0 @@ -name: distributive -category: Data Structures -version: 0.6.2 -x-revision: 1 -license: BSD3 -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/ekmett/distributive/ -bug-reports: http://github.com/ekmett/distributive/issues -copyright: Copyright (C) 2011-2016 Edward A. Kmett -synopsis: Distributive functors -- Dual to Traversable -description: Distributive functors -- Dual to @Traversable@ -build-type: Custom -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 -extra-source-files: - .hlint.yaml - .travis.yml - .vim.custom - config - travis-cabal-apt-install - CHANGELOG.markdown - README.markdown - Warning.hs - -source-repository head - type: git - location: git://github.com/ekmett/distributive.git - -custom-setup - setup-depends: - base >= 4 && <5, - Cabal, - cabal-doctest >= 1 && <1.1 - -flag semigroups - manual: True - default: True - description: - You can disable the use of the `semigroups` package using `-f-semigroups`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -flag tagged - manual: True - default: True - description: - You can disable the use of the `tagged` package using `-f-tagged`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -library - build-depends: - base >= 4 && < 5, - base-orphans >= 0.5.2 && < 1, - transformers >= 0.2 && < 0.6 - - if !impl(ghc >= 7.8) && !impl(ghcjs) - build-depends: transformers-compat >= 0.3 && < 1 - - hs-source-dirs: src - exposed-modules: - Data.Distributive - - if impl(ghc>=7.2) - exposed-modules: Data.Distributive.Generic - - if flag(tagged) - build-depends: tagged >= 0.7 && < 1 - - if impl(ghc>=7.2 && < 7.6) - build-depends: ghc-prim - - if impl(ghc < 8.0) - if flag(semigroups) - build-depends: semigroups >= 0.13 && < 1 - - if impl(ghc < 7.8) - hs-source-dirs: src-compat - other-modules: Data.Coerce - - ghc-options: -Wall - --- Verify the results of the examples -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - build-depends: - base >= 4, - distributive, - doctest >= 0.11.1 && <0.18 - ghc-options: -Wall -threaded - hs-source-dirs: tests - -test-suite spec - type: exitcode-stdio-1.0 - hs-source-dirs: tests - build-tool-depends: - hspec-discover:hspec-discover - - build-depends: - base >= 4 && < 5, - distributive, - generic-deriving >= 1.11 && < 2, - hspec >= 2 && < 3 - - main-is: Spec.hs - other-modules: GenericsSpec - - ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 3dd8219..761706f 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -1,33 +1,30 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.7 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name distributive %global pkgver %{pkg_name}-%{version} -%bcond_with tests +%bcond_without tests Name: ghc-%{pkg_name} -Version: 0.6.2 -Release: 4%{?dist} +Version: 0.6.2.1 +Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable 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: ghc-Cabal-devel -BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-base-orphans-prof BuildRequires: ghc-tagged-prof BuildRequires: ghc-transformers-prof %if %{with tests} -BuildRequires: ghc-doctest-devel BuildRequires: ghc-generic-deriving-devel BuildRequires: ghc-hspec-devel BuildRequires: ghc-hspec-discover-devel @@ -75,7 +72,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 +chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm setup @@ -117,6 +114,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 0.6.2.1-1 +- update to 0.6.2.1 + * Thu Jul 22 2021 Fedora Release Engineering - 0.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index c23018b..e6ea5d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.6.2.tar.gz) = aff03270f8e9ce062ef6efb7d8cc27a811a286a6107dedd931850ff7abe271725cde8f27c1a7ea76c63a0888931a0ac058b5607d2097ef5b65b4ce95538d1fe1 +SHA512 (distributive-0.6.2.1.tar.gz) = 387c7b6e0b2f917fd68d52ffbc79b9db21e488629309bfaf0dc77450bfd37c0f7f8a29458532616b5395552f84f3727b462cb2876e5aca79101e2c752b26e0a7 From 886092f0012b0f1c89dd9d870b168c736699f23d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 40/43] refresh to cabal-rpm-2.0.9 --- ghc-distributive.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 761706f..6ec696f 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.7 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name distributive @@ -52,6 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -72,7 +73,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm setup @@ -89,7 +89,9 @@ chmod a-x CHANGELOG.markdown README.markdown %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 38f41e6642983c4a8db6d1f9f94d1f9da9c62284 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:23:30 +0800 Subject: [PATCH 41/43] revise .cabal --- distributive-0.6.2.1.cabal | 108 +++++++++++++++++++++++++++++++++++++ ghc-distributive.spec | 3 ++ 2 files changed, 111 insertions(+) create mode 100644 distributive-0.6.2.1.cabal diff --git a/distributive-0.6.2.1.cabal b/distributive-0.6.2.1.cabal new file mode 100644 index 0000000..3255013 --- /dev/null +++ b/distributive-0.6.2.1.cabal @@ -0,0 +1,108 @@ +name: distributive +category: Data Structures +version: 0.6.2.1 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.10 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/distributive/ +bug-reports: http://github.com/ekmett/distributive/issues +copyright: Copyright (C) 2011-2016 Edward A. Kmett +synopsis: Distributive functors -- Dual to Traversable +description: Distributive functors -- Dual to @Traversable@ +build-type: Simple +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.4 + , GHC == 8.10.3 +extra-source-files: + .hlint.yaml + .vim.custom + config + CHANGELOG.markdown + README.markdown + +source-repository head + type: git + location: git://github.com/ekmett/distributive.git + +flag semigroups + manual: True + default: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + manual: True + default: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + transformers >= 0.3 && < 0.7 + + hs-source-dirs: src + exposed-modules: + Data.Distributive + + if impl(ghc>=7.2) + exposed-modules: Data.Distributive.Generic + + if flag(tagged) + build-depends: tagged >= 0.7 && < 1 + + if impl(ghc>=7.2 && < 7.6) + build-depends: ghc-prim + + if impl(ghc < 8.0) + if flag(semigroups) + build-depends: semigroups >= 0.13 && < 1 + + if impl(ghc < 7.8) + hs-source-dirs: src-compat + other-modules: Data.Coerce + + ghc-options: -Wall + + if impl(ghc >= 9.0) + -- these flags may abort compilation with GHC-8.10 + -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 + ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode + + default-language: Haskell2010 + +test-suite spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + build-tool-depends: + hspec-discover:hspec-discover + + build-depends: + base >= 4 && < 5, + distributive, + generic-deriving >= 1.11 && < 2, + hspec >= 2 && < 3 + + main-is: Spec.hs + other-modules: GenericsSpec + + ghc-options: -Wall -threaded -rtsopts + default-language: Haskell2010 diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 6ec696f..b97e341 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.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-base-prof @@ -73,6 +75,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 From f645fb1269ff5ac33b117e08a916b6f6673e7085 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:47:05 +0000 Subject: [PATCH 42/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-distributive.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-distributive.spec b/ghc-distributive.spec index b97e341..96bedc4 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.6.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distributive functors -- Dual to Traversable License: BSD @@ -119,6 +119,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.6.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.6.2.1-1 - update to 0.6.2.1 From 527c9d81a4927705f3f5874e5bdc020a7fbf0a9b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:38:57 +0300 Subject: [PATCH 43/43] 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 e6ea5d4..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (distributive-0.6.2.1.tar.gz) = 387c7b6e0b2f917fd68d52ffbc79b9db21e488629309bfaf0dc77450bfd37c0f7f8a29458532616b5395552f84f3727b462cb2876e5aca79101e2c752b26e0a7