From 3a751723bc610598f4850f1d3760e0ba2838158c Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 15 Sep 2017 12:24:20 +0000 Subject: [PATCH 01/31] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..24995a7 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-comonad + +The ghc-comonad package \ No newline at end of file From bf48dd96cf1a5ef182a18cd62b57f1a312cd5f46 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 16 Sep 2017 18:59:12 +0900 Subject: [PATCH 02/31] import (#1236364) --- .gitignore | 1 + README.md | 3 -- ghc-comonad.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-comonad.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d766267 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/comonad-5.0.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 24995a7..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-comonad - -The ghc-comonad package \ No newline at end of file diff --git a/ghc-comonad.spec b/ghc-comonad.spec new file mode 100644 index 0000000..090bd68 --- /dev/null +++ b/ghc-comonad.spec @@ -0,0 +1,87 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name comonad +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 5.0.2 +Release: 1%{?dist} +Summary: Categorical dual of monads + +License: BSD +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-cabal-doctest-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-contravariant-devel +BuildRequires: ghc-distributive-devel +BuildRequires: ghc-semigroups-devel +BuildRequires: ghc-tagged-devel +BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-doctest-devel +%endif +# End cabal-rpm deps + +%description +This package provides comonads, the categorical dual of monads. + + +%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 %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.markdown README.markdown examples + + +%changelog +* Fri Aug 25 2017 Fedora Haskell SIG - 5.0.2-1 +- spec file generated by cabal-rpm-0.11.2 + +* Sun Jun 28 2015 Fedora Haskell SIG - 4.2.7-1 +- spec file generated by cabal-rpm-0.9.6 diff --git a/sources b/sources new file mode 100644 index 0000000..3e00c66 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (comonad-5.0.2.tar.gz) = 78969422bcd78792a612398ef04639d6296e5db5181dc54dcc6efd4f50ed9caada67b75263268dc70030a0861ac8624242f77e3313fffae042451e05f49d1499 From 013f6dd4525a10c2aee0adea4e551e51876c8a3d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 4 Oct 2017 16:03:58 +0900 Subject: [PATCH 03/31] rebuild --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 090bd68..bbed168 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Categorical dual of monads License: BSD @@ -80,6 +80,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Oct 4 2017 Jens Petersen - 5.0.2-2 +- rebuild + * Fri Aug 25 2017 Fedora Haskell SIG - 5.0.2-1 - spec file generated by cabal-rpm-0.11.2 From e5857a2b6c92ba882fe317b0331b30725faebe47 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:48 +0100 Subject: [PATCH 04/31] refresh to cabal-rpm-0.12.1 --- ghc-comonad.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index bbed168..2b5e2ac 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.2 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name comonad @@ -38,9 +38,12 @@ This package provides comonads, the categorical dual of monads. %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 @@ -63,6 +66,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 2c67d3cdf1208778ec0ff3a3df2d464737222fe6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:24:15 +0100 Subject: [PATCH 05/31] bump release --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 2b5e2ac..7401896 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Categorical dual of monads License: BSD @@ -89,6 +89,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 5.0.2-3 +- rebuild + * Wed Oct 4 2017 Jens Petersen - 5.0.2-2 - rebuild From ef07123f7d8a6cff4ea0310113f9094bfc65727f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:10 +0900 Subject: [PATCH 06/31] drop ldconfig scriptlets --- ghc-comonad.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 7401896..2198978 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -66,12 +66,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 b98c904a6325919f24085c59dec6f2167e83d062 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:26:32 +0000 Subject: [PATCH 07/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 2198978..f39608a 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Categorical dual of monads License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 5.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 5.0.2-3 - rebuild From 4e3d38e62e5c1ce8d0cebca7c915ab0d12bb72ba Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 9 Jul 2018 01:01:00 -0400 Subject: [PATCH 08/31] update to 5.0.4 --- .gitignore | 1 + ghc-comonad.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d766267..2c9967b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /comonad-5.0.2.tar.gz +/comonad-5.0.4.tar.gz diff --git a/ghc-comonad.spec b/ghc-comonad.spec index f39608a..fbf0ec3 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.0.2 -Release: 4%{?dist} +Version: 5.0.4 +Release: 1%{?dist} Summary: Categorical dual of monads License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 09 2018 Elliott Sales de Andrade - 5.0.4-1 +- update to 5.0.4 + * Wed Feb 07 2018 Fedora Release Engineering - 5.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 3e00c66..cd238ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comonad-5.0.2.tar.gz) = 78969422bcd78792a612398ef04639d6296e5db5181dc54dcc6efd4f50ed9caada67b75263268dc70030a0861ac8624242f77e3313fffae042451e05f49d1499 +SHA512 (comonad-5.0.4.tar.gz) = 06537fed3fb26a776384c1b8601e82571d6a9ef62a73eb145fe04f7f00eb0a8994b93e5ec36b235545de568e552ca2e77347a25c87ee4237dcddca41f31ec974 From 02e4ad8324bd7725c6b876fbecb7a288164d9429 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:39:13 +0000 Subject: [PATCH 09/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index fbf0ec3..0b1b2d1 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Categorical dual of monads License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 5.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jul 09 2018 Elliott Sales de Andrade - 5.0.4-1 - update to 5.0.4 From c43c27157348ccf981ca9666d51b619ee5412863 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:05:47 +0900 Subject: [PATCH 10/31] rebuild --- ghc-comonad.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 0b1b2d1..f7adc10 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Categorical dual of monads License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 5.0.4-3 +- rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 5.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 4a09a87e42c6eeb6d9658ea54b61014da1cb4309 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:18:45 +0000 Subject: [PATCH 11/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index f7adc10..c0aad7d 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Categorical dual of monads License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 5.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 5.0.4-3 - rebuild From 971045394f414f871de2661d60d3c2287375471d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:59 +0800 Subject: [PATCH 12/31] refresh to cabal-rpm-0.13 --- ghc-comonad.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index c0aad7d..77a93d2 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 5.0.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Categorical dual of monads 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-cabal-doctest-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-contravariant-devel @@ -51,15 +53,21 @@ This package provides the Haskell %{pkg_name} library development 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 @@ -75,7 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -83,6 +93,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 5.0.4-5 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 5.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 4ad3994d1350f6c4b88c1147d5d4c3c4b1d1de70 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:15:04 +0000 Subject: [PATCH 13/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 77a93d2..24c1f82 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Categorical dual of monads License: BSD @@ -93,6 +93,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 5.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 5.0.4-5 - refresh to cabal-rpm-0.13 From a105a10644de991cfbd6ede106dd44e4b47d9547 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:22:13 +0000 Subject: [PATCH 14/31] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-comonad.spec | 50 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 24c1f82..fac8c42 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -19,8 +19,14 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros 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-containers-devel BuildRequires: ghc-contravariant-devel BuildRequires: ghc-distributive-devel @@ -40,11 +46,8 @@ This package provides comonads, the categorical dual of monads. %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} @@ -74,14 +96,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -92,6 +106,16 @@ This package provides the Haskell %{pkg_name} library development files. %doc CHANGELOG.markdown README.markdown examples +%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 - 5.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 19fa1053a8be526ee39a196e7350e938675f2210 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:25:00 +0000 Subject: [PATCH 15/31] update to 5.0.5 --- .gitignore | 1 + ghc-comonad.spec | 9 +++++---- sources | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2c9967b..98255fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /comonad-5.0.2.tar.gz /comonad-5.0.4.tar.gz +/comonad-5.0.5.tar.gz diff --git a/ghc-comonad.spec b/ghc-comonad.spec index fac8c42..d0c1758 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.0.4 -Release: 6%{?dist} +Version: 5.0.5 +Release: 1%{?dist} Summary: Categorical dual of monads License: BSD @@ -28,9 +28,7 @@ BuildRequires: ghc-prof %endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-containers-devel -BuildRequires: ghc-contravariant-devel BuildRequires: ghc-distributive-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel @@ -117,6 +115,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 5.0.5-1 +- update to 5.0.5 + * Thu Jul 25 2019 Fedora Release Engineering - 5.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index cd238ee..d58b59e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comonad-5.0.4.tar.gz) = 06537fed3fb26a776384c1b8601e82571d6a9ef62a73eb145fe04f7f00eb0a8994b93e5ec36b235545de568e552ca2e77347a25c87ee4237dcddca41f31ec974 +SHA512 (comonad-5.0.5.tar.gz) = 45c1d65768d229ad936dbb9ed75912985c9e2b821befb3863e4095f8af7d54984ef54a4233693497a3295c2da39eff80988f1d4c775230d7a899791ea5fb3e2f From 287bad53198bb5088a9b97ad7148ea1c79ba7f60 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:11 +0800 Subject: [PATCH 16/31] BR prof for lib and static for executable --- ghc-comonad.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index d0c1758..8f52c75 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -20,18 +20,13 @@ 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-containers-devel -BuildRequires: ghc-distributive-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-distributive-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-doctest-devel %endif @@ -44,6 +39,7 @@ This package provides comonads, the categorical dual of monads. %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 580d2a23861baff560df7de22222a2b62e719014 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:26:39 +0000 Subject: [PATCH 17/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 8f52c75..a5742aa 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Categorical dual of monads License: BSD @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 5.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 5.0.5-1 - update to 5.0.5 From 5656e07ea6801ff1f7acc0dffd81d515702dba38 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:28 +0800 Subject: [PATCH 18/31] refresh to cabal-rpm-2.0.2 --- ghc-comonad.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index a5742aa..28224cc 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -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 130e16f3a9f874520d605cb420cc139e59e64cde Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 10:53:18 +0800 Subject: [PATCH 19/31] update to 5.0.6 --- .gitignore | 1 + ghc-comonad.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 98255fa..cecce4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /comonad-5.0.2.tar.gz /comonad-5.0.4.tar.gz /comonad-5.0.5.tar.gz +/comonad-5.0.6.tar.gz diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 28224cc..67d2f82 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.0.5 -Release: 2%{?dist} +Version: 5.0.6 +Release: 1%{?dist} Summary: Categorical dual of monads License: BSD @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 5.0.6-1 +- update to 5.0.6 + * Tue Jan 28 2020 Fedora Release Engineering - 5.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index d58b59e..f99abc2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comonad-5.0.5.tar.gz) = 45c1d65768d229ad936dbb9ed75912985c9e2b821befb3863e4095f8af7d54984ef54a4233693497a3295c2da39eff80988f1d4c775230d7a899791ea5fb3e2f +SHA512 (comonad-5.0.6.tar.gz) = 0b7fc727a2b972203d1651049a4f4c371a8f134d64d36409d60fbc4d11b7eb9650c79cf917abaa3f66084d7c5e9f32b288862a5e93c3d93c16c11533a446cfa5 From bf2577ac0583f52ccebdf3e56406dba706afcbaa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:41 +0800 Subject: [PATCH 20/31] refresh to cabal-rpm-2.0.5 --- ghc-comonad.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 67d2f82..921360e 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad %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 23d22f749446fb3deafb33711954ced3bb81af73 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:54:18 +0800 Subject: [PATCH 21/31] refresh to cabal-rpm-2.0.6 --- ghc-comonad.spec | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 921360e..bc60216 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -73,6 +73,7 @@ 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 @@ -85,7 +86,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 @@ -93,16 +93,6 @@ chmod a-x CHANGELOG.markdown README.markdown %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 5b309acf5a76dc35a0588317178b0d45a6ad3cd7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 16:38:01 +0800 Subject: [PATCH 22/31] add revision --- comonad-5.0.6.cabal | 134 ++++++++++++++++++++++++++++++++++++++++++++ ghc-comonad.spec | 2 + 2 files changed, 136 insertions(+) create mode 100644 comonad-5.0.6.cabal diff --git a/comonad-5.0.6.cabal b/comonad-5.0.6.cabal new file mode 100644 index 0000000..6b536c7 --- /dev/null +++ b/comonad-5.0.6.cabal @@ -0,0 +1,134 @@ +name: comonad +category: Control, Comonads +version: 5.0.6 +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/comonad/ +bug-reports: http://github.com/ekmett/comonad/issues +copyright: Copyright (C) 2008-2014 Edward A. Kmett, + Copyright (C) 2004-2008 Dave Menendez +synopsis: Comonads +description: Comonads. +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: + .ghci + .gitignore + .hlint.yaml + .travis.yml + .vim.custom + coq/Store.v + README.markdown + CHANGELOG.markdown + examples/History.hs + Warning.hs + +custom-setup + setup-depends: + base >= 4 && < 5, + Cabal, + cabal-doctest >= 1 && < 1.1 + +-- You can disable the doctests test suite with -f-test-doctests +flag test-doctests + default: True + manual: True + +flag containers + description: + You can disable the use of the `containers` package using `-f-containers`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag distributive + description: + You can disable the use of the `distributive` package using `-f-distributive`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + . + If disabled we will not supply instances of `Distributive` + . + default: True + manual: True + + +source-repository head + type: git + location: git://github.com/ekmett/comonad.git + +library + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall + + build-depends: + base >= 4 && < 5, + tagged >= 0.7 && < 1, + transformers >= 0.2 && < 0.6, + transformers-compat >= 0.3 && < 1 + + if !impl(ghc >= 8.0) + build-depends: semigroups >= 0.16.2 && < 1 + + if flag(containers) + build-depends: containers >= 0.3 && < 0.7 + + if flag(distributive) + build-depends: distributive >= 0.2.2 && < 1 + + exposed-modules: + Control.Comonad + Control.Comonad.Env + Control.Comonad.Env.Class + Control.Comonad.Hoist.Class + Control.Comonad.Identity + Control.Comonad.Store + Control.Comonad.Store.Class + Control.Comonad.Traced + Control.Comonad.Traced.Class + Control.Comonad.Trans.Class + Control.Comonad.Trans.Env + Control.Comonad.Trans.Identity + Control.Comonad.Trans.Store + Control.Comonad.Trans.Traced + Data.Functor.Composition + + other-extensions: + CPP + RankNTypes + MultiParamTypeClasses + FunctionalDependencies + FlexibleInstances + UndecidableInstances + +test-suite doctests + type: exitcode-stdio-1.0 + default-language: Haskell2010 + main-is: doctests.hs + ghc-options: -Wall -threaded + hs-source-dirs: tests + + if !flag(test-doctests) + buildable: False + else + build-depends: + base, + comonad, + doctest >= 0.11.1 && < 0.18 diff --git a/ghc-comonad.spec b/ghc-comonad.spec index bc60216..bd471b5 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -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 chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm setup From b80e3df4b1bbeaf838cbe250560b52f837d69600 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:59:14 +0800 Subject: [PATCH 23/31] bump release --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index bd471b5..7c97459 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Categorical dual of monads License: BSD @@ -117,6 +117,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Fri Jul 17 2020 Jens Petersen - 5.0.6-2 +- refresh to cabal-rpm-2.0.6 + * Fri Feb 14 2020 Jens Petersen - 5.0.6-1 - update to 5.0.6 From 2872359cd64a028a1cc2937f787df683eb8bd5ed Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:56:10 +0000 Subject: [PATCH 24/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 7c97459..fd2d4bc 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Categorical dual of monads License: BSD @@ -117,6 +117,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 5.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 5.0.6-2 - refresh to cabal-rpm-2.0.6 From bf2be6ab19a34af2b04e1631b00538631e3abfdf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:00:07 +0000 Subject: [PATCH 25/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index fd2d4bc..ff9c345 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Categorical dual of monads License: BSD @@ -117,6 +117,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 5.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 5.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 100804c8278c0fb04c2fb62bfdcf90b6aaec5796 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:27:20 +0000 Subject: [PATCH 26/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index ff9c345..d08b6fb 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.0.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Categorical dual of monads License: BSD @@ -117,6 +117,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 5.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 5.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From a4bb5e5ba6faf23c3b52bba30f0ac1b5ca064aeb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 10:23:40 +0800 Subject: [PATCH 27/31] update to 5.0.8 --- .gitignore | 1 + comonad-5.0.6.cabal | 134 -------------------------------------------- ghc-comonad.spec | 18 ++---- sources | 2 +- 4 files changed, 8 insertions(+), 147 deletions(-) delete mode 100644 comonad-5.0.6.cabal diff --git a/.gitignore b/.gitignore index cecce4d..31a8d5d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /comonad-5.0.4.tar.gz /comonad-5.0.5.tar.gz /comonad-5.0.6.tar.gz +/comonad-5.0.8.tar.gz diff --git a/comonad-5.0.6.cabal b/comonad-5.0.6.cabal deleted file mode 100644 index 6b536c7..0000000 --- a/comonad-5.0.6.cabal +++ /dev/null @@ -1,134 +0,0 @@ -name: comonad -category: Control, Comonads -version: 5.0.6 -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/comonad/ -bug-reports: http://github.com/ekmett/comonad/issues -copyright: Copyright (C) 2008-2014 Edward A. Kmett, - Copyright (C) 2004-2008 Dave Menendez -synopsis: Comonads -description: Comonads. -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: - .ghci - .gitignore - .hlint.yaml - .travis.yml - .vim.custom - coq/Store.v - README.markdown - CHANGELOG.markdown - examples/History.hs - Warning.hs - -custom-setup - setup-depends: - base >= 4 && < 5, - Cabal, - cabal-doctest >= 1 && < 1.1 - --- You can disable the doctests test suite with -f-test-doctests -flag test-doctests - default: True - manual: True - -flag containers - description: - You can disable the use of the `containers` package using `-f-containers`. - . - Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - default: True - manual: True - -flag distributive - description: - You can disable the use of the `distributive` package using `-f-distributive`. - . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - . - If disabled we will not supply instances of `Distributive` - . - default: True - manual: True - - -source-repository head - type: git - location: git://github.com/ekmett/comonad.git - -library - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall - - build-depends: - base >= 4 && < 5, - tagged >= 0.7 && < 1, - transformers >= 0.2 && < 0.6, - transformers-compat >= 0.3 && < 1 - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.16.2 && < 1 - - if flag(containers) - build-depends: containers >= 0.3 && < 0.7 - - if flag(distributive) - build-depends: distributive >= 0.2.2 && < 1 - - exposed-modules: - Control.Comonad - Control.Comonad.Env - Control.Comonad.Env.Class - Control.Comonad.Hoist.Class - Control.Comonad.Identity - Control.Comonad.Store - Control.Comonad.Store.Class - Control.Comonad.Traced - Control.Comonad.Traced.Class - Control.Comonad.Trans.Class - Control.Comonad.Trans.Env - Control.Comonad.Trans.Identity - Control.Comonad.Trans.Store - Control.Comonad.Trans.Traced - Data.Functor.Composition - - other-extensions: - CPP - RankNTypes - MultiParamTypeClasses - FunctionalDependencies - FlexibleInstances - UndecidableInstances - -test-suite doctests - type: exitcode-stdio-1.0 - default-language: Haskell2010 - main-is: doctests.hs - ghc-options: -Wall -threaded - hs-source-dirs: tests - - if !flag(test-doctests) - buildable: False - else - build-depends: - base, - comonad, - doctest >= 0.11.1 && < 0.18 diff --git a/ghc-comonad.spec b/ghc-comonad.spec index d08b6fb..bf97470 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -7,30 +7,26 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.0.6 -Release: 5%{?dist} +Version: 5.0.8 +Release: 1%{?dist} Summary: Categorical dual of monads 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-containers-prof BuildRequires: ghc-distributive-prof +BuildRequires: ghc-indexed-traversable-prof BuildRequires: ghc-tagged-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof -%if %{with tests} -BuildRequires: ghc-doctest-devel -%endif # End cabal-rpm deps %description @@ -74,7 +70,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 chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm setup @@ -91,10 +86,6 @@ chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm install -%check -%cabal_test - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -117,6 +108,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Thu Aug 5 2021 Jens Petersen - 5.0.8-1 +- update to 5.0.8 + * Thu Jul 22 2021 Fedora Release Engineering - 5.0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f99abc2..5929a21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comonad-5.0.6.tar.gz) = 0b7fc727a2b972203d1651049a4f4c371a8f134d64d36409d60fbc4d11b7eb9650c79cf917abaa3f66084d7c5e9f32b288862a5e93c3d93c16c11533a446cfa5 +SHA512 (comonad-5.0.8.tar.gz) = b823ea36826da74c6ec46cb835493224f62da66516841b9660a04c391dee803c31e140b2c523b563fb51f46509d99cce157b456a88fbaf2371da11933d5d787e From 929bb93d78c66a6b9961838b35c6ac634274e553 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 28/31] refresh to cabal-rpm-2.0.9 --- ghc-comonad.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index bf97470..6224ee2 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -1,11 +1,9 @@ -# 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 comonad %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 5.0.8 Release: 1%{?dist} @@ -50,6 +48,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. @@ -70,7 +69,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 From bc51a4ee23999b10b022efdc89125c0531c5ed25 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:19:13 +0800 Subject: [PATCH 29/31] revise .cabal --- comonad-5.0.8.cabal | 125 ++++++++++++++++++++++++++++++++++++++++++++ ghc-comonad.spec | 3 ++ 2 files changed, 128 insertions(+) create mode 100644 comonad-5.0.8.cabal diff --git a/comonad-5.0.8.cabal b/comonad-5.0.8.cabal new file mode 100644 index 0000000..ee94f59 --- /dev/null +++ b/comonad-5.0.8.cabal @@ -0,0 +1,125 @@ +name: comonad +category: Control, Comonads +version: 5.0.8 +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/comonad/ +bug-reports: http://github.com/ekmett/comonad/issues +copyright: Copyright (C) 2008-2014 Edward A. Kmett, + Copyright (C) 2004-2008 Dave Menendez +synopsis: Comonads +description: Comonads. +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.3 + , GHC == 8.10.1 +extra-source-files: + .gitignore + .hlint.yaml + .vim.custom + coq/Store.v + README.markdown + CHANGELOG.markdown + examples/History.hs + +flag containers + description: + You can disable the use of the `containers` package using `-f-containers`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag distributive + description: + You can disable the use of the `distributive` package using `-f-distributive`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + . + If disabled we will not supply instances of `Distributive` + . + default: True + manual: True + +flag indexed-traversable + description: + You can disable the use of the `indexed-traversable` package using `-f-indexed-traversable`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + . + If disabled we will not supply instances of `FunctorWithIndex` + . + default: True + manual: True + + +source-repository head + type: git + location: git://github.com/ekmett/comonad.git + +library + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall + + build-depends: + base >= 4 && < 5, + tagged >= 0.8.6.1 && < 1, + transformers >= 0.3 && < 0.7, + transformers-compat >= 0.5 && < 1 + + if !impl(ghc >= 8.0) + build-depends: semigroups >= 0.18.5 && < 1 + + if flag(containers) + build-depends: containers >= 0.3 && < 0.7 + + if flag(distributive) + build-depends: distributive >= 0.5.2 && < 1 + + if flag(indexed-traversable) + build-depends: indexed-traversable >= 0.1.1 && < 0.2 + + 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 + + exposed-modules: + Control.Comonad + Control.Comonad.Env + Control.Comonad.Env.Class + Control.Comonad.Hoist.Class + Control.Comonad.Identity + Control.Comonad.Store + Control.Comonad.Store.Class + Control.Comonad.Traced + Control.Comonad.Traced.Class + Control.Comonad.Trans.Class + Control.Comonad.Trans.Env + Control.Comonad.Trans.Identity + Control.Comonad.Trans.Store + Control.Comonad.Trans.Traced + Data.Functor.Composition + + other-extensions: + CPP + RankNTypes + MultiParamTypeClasses + FunctionalDependencies + FlexibleInstances + UndecidableInstances diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 6224ee2..c8000ab 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -13,9 +13,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 @@ -69,6 +71,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 618017e43614338e9d17e42d3d9f48cc8f84179a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:39:57 +0000 Subject: [PATCH 30/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-comonad.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-comonad.spec b/ghc-comonad.spec index c8000ab..83cb4e2 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 5.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Categorical dual of monads License: BSD @@ -109,6 +109,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 5.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 5.0.8-1 - update to 5.0.8 From e62d6c40a4dead7b4e6573d32a7097514e43173e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:29:52 +0300 Subject: [PATCH 31/31] 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 5929a21..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (comonad-5.0.8.tar.gz) = b823ea36826da74c6ec46cb835493224f62da66516841b9660a04c391dee803c31e140b2c523b563fb51f46509d99cce157b456a88fbaf2371da11933d5d787e