From e25c3f42d0671097fddd175e3c9a913d8bcb1e22 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 18 Sep 2017 11:22:38 +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..4af74df --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-bifunctors + +The ghc-bifunctors package \ No newline at end of file From a5bdc004595bf6283fc4917b70d43d0f37ede021 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 18 Sep 2017 15:43:15 -0400 Subject: [PATCH 02/31] Initial import (#1492357). --- .gitignore | 1 + README.md | 3 -- ghc-bifunctors.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-bifunctors.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c7c3bd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/bifunctors-5.4.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 4af74df..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-bifunctors - -The ghc-bifunctors package \ No newline at end of file diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec new file mode 100644 index 0000000..1d618b3 --- /dev/null +++ b/ghc-bifunctors.spec @@ -0,0 +1,99 @@ +# generated by cabal-rpm-0.10.0 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name bifunctors + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 5.4.2 +Release: 2.git.0.401a894%{?dist} +Summary: Bifunctors + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-comonad-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-semigroups-devel +BuildRequires: ghc-tagged-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-hspec-devel +%endif +# End cabal-rpm deps + +%description +Haskell 98 bifunctors, bifoldables and bitraversables. + + +%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 + + +%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 + + +%changelog +* Sun Sep 17 2017 Elliott Sales de Andrade 5.4.2-2 +- Expand description a bit. + +* Sat Jul 22 2017 Elliott Sales de Andrade 5.4.2-1 +- Update to latest version. + +* Fri Jul 21 2017 Elliott Sales de Andrade 5.3-4 +- Bump for Fedora 26. + +* Sat Dec 17 2016 Elliott Sales de Andrade - 5.3-3 +- Bump to rebuild against new dependencies + +* Fri Dec 16 2016 Elliott Sales de Andrade - 5.3-2 +- Update release to be newer than previous builds + +* Fri Dec 16 2016 Fedora Haskell SIG - 5.3-1 +- spec file generated by cabal-rpm-0.10.0 diff --git a/sources b/sources new file mode 100644 index 0000000..5563ecb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (bifunctors-5.4.2.tar.gz) = 304281f112b34014fcce6082d8e7584333fcd740b3046e1dfd1bc6910221d9306808a5f0f023e9e63917e9c604d8ae7f6a0cac98aee52dd52e3580cb6a199e93 From ed166c25c1e4bcdb3686bec25597e01de7694dd9 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 18 Sep 2017 15:43:39 -0400 Subject: [PATCH 03/31] Fix release number. --- ghc-bifunctors.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 1d618b3..fd9e74e 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 5.4.2 -Release: 2.git.0.401a894%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD From 361757e08b0d1d36c79580ef9384f7da592364ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:38 +0100 Subject: [PATCH 04/31] refresh to cabal-rpm-0.12.1 --- ghc-bifunctors.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index fd9e74e..24e4aa4 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -1,9 +1,10 @@ -# generated by cabal-rpm-0.10.0 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name bifunctors +%global pkgver %{pkg_name}-%{version} -%bcond_with tests +%bcond_without tests Name: ghc-%{pkg_name} Version: 5.4.2 @@ -12,7 +13,7 @@ Summary: Bifunctors License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -38,9 +39,12 @@ Haskell 98 bifunctors, bifoldables and bitraversables. %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 @@ -48,7 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -63,6 +67,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 c979ca94cecd1d320b1de85291059ad3ddb9bedc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:21:40 +0100 Subject: [PATCH 05/31] update to 5.5 --- .gitignore | 1 + ghc-bifunctors.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6c7c3bd..41e4e8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /bifunctors-5.4.2.tar.gz +/bifunctors-5.5.tar.gz diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 24e4aa4..38facb1 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.4.2 -Release: 2%{?dist} +Version: 5.5 +Release: 1%{?dist} Summary: Bifunctors License: BSD @@ -24,6 +24,7 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-th-abstraction-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel %if %{with tests} @@ -90,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 5.5-1 +- update to 5.5 + * Sun Sep 17 2017 Elliott Sales de Andrade 5.4.2-2 - Expand description a bit. diff --git a/sources b/sources index 5563ecb..e674866 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.4.2.tar.gz) = 304281f112b34014fcce6082d8e7584333fcd740b3046e1dfd1bc6910221d9306808a5f0f023e9e63917e9c604d8ae7f6a0cac98aee52dd52e3580cb6a199e93 +SHA512 (bifunctors-5.5.tar.gz) = e2b5717876a649ac33d18cb401677cfd4b1ea55061035023af101f2b7fdd60db0eeedf7dacfc55ba070e28d726973c28a1ce1dcdf52b7140bd8bfc6777c8d9e2 From 58b66ae5fea6564620a6298ceb8a01ed3c4bcb2c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:00 +0900 Subject: [PATCH 06/31] drop ldconfig scriptlets --- ghc-bifunctors.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 38facb1..e723774 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -68,12 +68,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 757b333cb8be5d64dd014ed02cf9e0ea59342e8a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:21:01 +0000 Subject: [PATCH 07/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index e723774..a18f3a1 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 5.5-1 - update to 5.5 From 9d1b0136f49d57f9ae090e92ee8857326c427a28 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 9 Jul 2018 01:00:48 -0400 Subject: [PATCH 08/31] update to 5.5.3 --- .gitignore | 1 + ghc-bifunctors.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 41e4e8b..0f8885d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bifunctors-5.4.2.tar.gz /bifunctors-5.5.tar.gz +/bifunctors-5.5.3.tar.gz diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index a18f3a1..66faa3a 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5 -Release: 2%{?dist} +Version: 5.5.3 +Release: 1%{?dist} Summary: Bifunctors License: BSD @@ -25,11 +25,11 @@ BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-th-abstraction-devel -BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-transformers-compat-devel %endif # End cabal-rpm deps @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 09 2018 Elliott Sales de Andrade - 5.5.3-1 +- update to 5.5.3 + * Wed Feb 07 2018 Fedora Release Engineering - 5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index e674866..98abfff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.tar.gz) = e2b5717876a649ac33d18cb401677cfd4b1ea55061035023af101f2b7fdd60db0eeedf7dacfc55ba070e28d726973c28a1ce1dcdf52b7140bd8bfc6777c8d9e2 +SHA512 (bifunctors-5.5.3.tar.gz) = 4996c9afa60bd6c1de872ac7be09135a972f9c3075987834fa50bfba90111257ef51268b4b206a8652b3e68b231f94723e6e6f47eb44b457820cfe9b8ea82404 From b41aa54a1065adbdac58f6f42bf2ab9ff15484b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:35:16 +0000 Subject: [PATCH 09/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 66faa3a..1442d94 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 5.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jul 09 2018 Elliott Sales de Andrade - 5.5.3-1 - update to 5.5.3 From 32d2fb83e6bbb2572cf4ac2ba5d95af5816b9ca0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:05:58 +0900 Subject: [PATCH 10/31] rebuild --- ghc-bifunctors.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 1442d94..f55d8c6 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bifunctors License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 5.5.3-3 +- rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 5.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From b2419e067fc0689e4e99d2d9e624ddb3fe670589 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:13:15 +0000 Subject: [PATCH 11/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index f55d8c6..5904be7 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Bifunctors License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 5.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 5.5.3-3 - rebuild From b0089e6857c77c2576a0b0609fbe3a2b589576c2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:38 +0800 Subject: [PATCH 12/31] refresh to cabal-rpm-0.13 --- ghc-bifunctors.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 5904be7..505acdf 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 5.5.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Bifunctors 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-base-orphans-devel BuildRequires: ghc-comonad-devel BuildRequires: ghc-containers-devel @@ -53,15 +55,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 @@ -77,7 +85,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 @@ -85,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 5.5.3-5 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 5.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 86bcd7fdf239c3249a47232cd4f55e753d1bdee3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:09:10 +0000 Subject: [PATCH 13/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 505acdf..61325a2 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Bifunctors License: BSD @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 5.5.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 5.5.3-5 - refresh to cabal-rpm-0.13 From 34fac4b653f32c7b69e3faf2e8bb6d9dd32d430b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:44 +0000 Subject: [PATCH 14/31] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-bifunctors.spec | 48 +++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 61325a2..850862b 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -19,6 +19,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-comonad-devel @@ -42,11 +48,8 @@ Haskell 98 bifunctors, bifoldables and bitraversables. %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} @@ -54,6 +57,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} @@ -76,14 +98,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 @@ -94,6 +108,16 @@ This package provides the Haskell %{pkg_name} library development files. %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 - 5.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From f5c4b09898835dab968aff912073ff6ef3c65300 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:16:23 +0000 Subject: [PATCH 15/31] update to 5.5.4 --- .gitignore | 1 + bifunctors-5.5.4.cabal | 119 +++++++++++++++++++++++++++++++++++++++++ ghc-bifunctors.spec | 10 ++-- sources | 2 +- 4 files changed, 128 insertions(+), 4 deletions(-) create mode 100644 bifunctors-5.5.4.cabal diff --git a/.gitignore b/.gitignore index 0f8885d..1f737a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /bifunctors-5.4.2.tar.gz /bifunctors-5.5.tar.gz /bifunctors-5.5.3.tar.gz +/bifunctors-5.5.4.tar.gz diff --git a/bifunctors-5.5.4.cabal b/bifunctors-5.5.4.cabal new file mode 100644 index 0000000..befe681 --- /dev/null +++ b/bifunctors-5.5.4.cabal @@ -0,0 +1,119 @@ +name: bifunctors +category: Data, Functors +version: 5.5.4 +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/bifunctors/ +bug-reports: http://github.com/ekmett/bifunctors/issues +copyright: Copyright (C) 2008-2016 Edward A. Kmett +synopsis: Bifunctors +description: Bifunctors. +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.4 +extra-source-files: .travis.yml CHANGELOG.markdown README.markdown + +source-repository head + type: git + location: https://github.com/ekmett/bifunctors.git + +flag semigroups + default: True + manual: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + default: True + manual: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + hs-source-dirs: src + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + comonad >= 4 && < 6, + containers >= 0.1 && < 0.7, + template-haskell >= 2.4 && < 2.16, + th-abstraction >= 0.2.2 && < 0.4, + transformers >= 0.2 && < 0.6 + + if !impl(ghc > 8.2) + build-depends: transformers-compat >= 0.5 && < 0.7 + + if flag(tagged) + build-depends: tagged >= 0.7.3 && < 1 + + if flag(semigroups) && !impl(ghc >= 8.0) + build-depends: semigroups >= 0.8.3.1 && < 1 + + if impl(ghc<7.9) + hs-source-dirs: old-src/ghc709 + exposed-modules: Data.Bifunctor + + if impl(ghc<8.1) + hs-source-dirs: old-src/ghc801 + exposed-modules: + Data.Bifoldable + Data.Bitraversable + + if impl(ghc>=7.2) && impl(ghc<7.5) + build-depends: ghc-prim == 0.2.0.0 + + exposed-modules: + Data.Biapplicative + Data.Bifunctor.Biff + Data.Bifunctor.Clown + Data.Bifunctor.Fix + Data.Bifunctor.Flip + Data.Bifunctor.Functor + Data.Bifunctor.Join + Data.Bifunctor.Joker + Data.Bifunctor.Product + Data.Bifunctor.Sum + Data.Bifunctor.Tannen + Data.Bifunctor.TH + Data.Bifunctor.Wrapped + + other-modules: + Data.Bifunctor.TH.Internal + Paths_bifunctors + + ghc-options: -Wall + + +test-suite bifunctors-spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Spec.hs + other-modules: BifunctorSpec + ghc-options: -Wall + build-tool-depends: hspec-discover:hspec-discover >= 1.8 + build-depends: + base >= 4 && < 5, + bifunctors, + hspec >= 1.8, + QuickCheck >= 2 && < 3, + template-haskell, + transformers, + transformers-compat + diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 850862b..20f7cbf 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,14 +7,15 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5.3 -Release: 6%{?dist} +Version: 5.5.4 +Release: 1%{?dist} Summary: Bifunctors 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: @@ -29,7 +30,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-comonad-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-th-abstraction-devel @@ -79,6 +79,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 @@ -119,6 +120,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 5.5.4-1 +- update to 5.5.4 + * Thu Jul 25 2019 Fedora Release Engineering - 5.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 98abfff..1c43bd8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.3.tar.gz) = 4996c9afa60bd6c1de872ac7be09135a972f9c3075987834fa50bfba90111257ef51268b4b206a8652b3e68b231f94723e6e6f47eb44b457820cfe9b8ea82404 +SHA512 (bifunctors-5.5.4.tar.gz) = 16470cac8ad9f4d246ae2d8693ddc587d7ee1f6b405f365b1fba101e5556dc5d8cf4ce7b0973f40bf6794202ae177d7e39a5ee947d157c5343cf380d3997cc33 From 9fd5b08f344050c9d367099f813e0f8650a76918 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:42 +0800 Subject: [PATCH 16/31] BR prof for lib and static for executable --- ghc-bifunctors.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 20f7cbf..18080bf 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -20,20 +20,15 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-comonad-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-th-abstraction-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-base-orphans-prof +BuildRequires: ghc-comonad-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-th-abstraction-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel @@ -48,6 +43,7 @@ Haskell 98 bifunctors, bifoldables and bitraversables. %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 2274bc17d8a5a41978a7cf53195fe805e12db565 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:19:31 +0000 Subject: [PATCH 17/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 18080bf..36c3feb 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD @@ -116,6 +116,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 5.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 5.5.4-1 - update to 5.5.4 From e86f70cfe9d3772a78c118305149e1d010eba36b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:05 +0800 Subject: [PATCH 18/31] refresh to cabal-rpm-2.0.2 --- ghc-bifunctors.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 36c3feb..e64aaf3 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -56,6 +56,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. @@ -66,6 +67,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. @@ -95,6 +97,16 @@ 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 @@ -107,6 +119,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From c0dda912960a23d9b60cd3f56c72bf425ebf181b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 9 Feb 2020 21:56:54 +0800 Subject: [PATCH 19/31] update to 5.5.7 --- .gitignore | 1 + bifunctors-5.5.4.cabal | 119 ----------------------------------------- ghc-bifunctors.spec | 9 ++-- sources | 2 +- 4 files changed, 7 insertions(+), 124 deletions(-) delete mode 100644 bifunctors-5.5.4.cabal diff --git a/.gitignore b/.gitignore index 1f737a5..f470177 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /bifunctors-5.5.tar.gz /bifunctors-5.5.3.tar.gz /bifunctors-5.5.4.tar.gz +/bifunctors-5.5.7.tar.gz diff --git a/bifunctors-5.5.4.cabal b/bifunctors-5.5.4.cabal deleted file mode 100644 index befe681..0000000 --- a/bifunctors-5.5.4.cabal +++ /dev/null @@ -1,119 +0,0 @@ -name: bifunctors -category: Data, Functors -version: 5.5.4 -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/bifunctors/ -bug-reports: http://github.com/ekmett/bifunctors/issues -copyright: Copyright (C) 2008-2016 Edward A. Kmett -synopsis: Bifunctors -description: Bifunctors. -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.4 -extra-source-files: .travis.yml CHANGELOG.markdown README.markdown - -source-repository head - type: git - location: https://github.com/ekmett/bifunctors.git - -flag semigroups - default: True - manual: True - description: - You can disable the use of the `semigroups` package using `-f-semigroups`. - . - Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -flag tagged - default: True - manual: True - description: - You can disable the use of the `tagged` package using `-f-tagged`. - . - Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - -library - hs-source-dirs: src - build-depends: - base >= 4 && < 5, - base-orphans >= 0.5.2 && < 1, - comonad >= 4 && < 6, - containers >= 0.1 && < 0.7, - template-haskell >= 2.4 && < 2.16, - th-abstraction >= 0.2.2 && < 0.4, - transformers >= 0.2 && < 0.6 - - if !impl(ghc > 8.2) - build-depends: transformers-compat >= 0.5 && < 0.7 - - if flag(tagged) - build-depends: tagged >= 0.7.3 && < 1 - - if flag(semigroups) && !impl(ghc >= 8.0) - build-depends: semigroups >= 0.8.3.1 && < 1 - - if impl(ghc<7.9) - hs-source-dirs: old-src/ghc709 - exposed-modules: Data.Bifunctor - - if impl(ghc<8.1) - hs-source-dirs: old-src/ghc801 - exposed-modules: - Data.Bifoldable - Data.Bitraversable - - if impl(ghc>=7.2) && impl(ghc<7.5) - build-depends: ghc-prim == 0.2.0.0 - - exposed-modules: - Data.Biapplicative - Data.Bifunctor.Biff - Data.Bifunctor.Clown - Data.Bifunctor.Fix - Data.Bifunctor.Flip - Data.Bifunctor.Functor - Data.Bifunctor.Join - Data.Bifunctor.Joker - Data.Bifunctor.Product - Data.Bifunctor.Sum - Data.Bifunctor.Tannen - Data.Bifunctor.TH - Data.Bifunctor.Wrapped - - other-modules: - Data.Bifunctor.TH.Internal - Paths_bifunctors - - ghc-options: -Wall - - -test-suite bifunctors-spec - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Spec.hs - other-modules: BifunctorSpec - ghc-options: -Wall - build-tool-depends: hspec-discover:hspec-discover >= 1.8 - build-depends: - base >= 4 && < 5, - bifunctors, - hspec >= 1.8, - QuickCheck >= 2 && < 3, - template-haskell, - transformers, - transformers-compat - diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index e64aaf3..2de5e7c 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,15 +7,14 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5.4 -Release: 2%{?dist} +Version: 5.5.7 +Release: 1%{?dist} Summary: Bifunctors 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: @@ -77,7 +76,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 @@ -129,6 +127,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 09 2020 Jens Petersen - 5.5.7-1 +- update to 5.5.7 + * Tue Jan 28 2020 Fedora Release Engineering - 5.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 1c43bd8..739c8d6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.4.tar.gz) = 16470cac8ad9f4d246ae2d8693ddc587d7ee1f6b405f365b1fba101e5556dc5d8cf4ce7b0973f40bf6794202ae177d7e39a5ee947d157c5343cf380d3997cc33 +SHA512 (bifunctors-5.5.7.tar.gz) = ea1632c5dc2b8d0735e3076337768bf595071d0245b85f80859dab09189d813473b574b17d5b49864bda8c2cccd348c99db0b9b890f563ecfb5f750b06a4b219 From c71e58d6584e33e9806b599bd120e2a6d6dc4015 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:21 +0800 Subject: [PATCH 20/31] refresh to cabal-rpm-2.0.5 --- ghc-bifunctors.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 2de5e7c..ffb0490 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors %global pkgver %{pkg_name}-%{version} @@ -88,6 +88,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 681c5acb9c6687c964ce6c9249bd40c2717c6b40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:59 +0800 Subject: [PATCH 21/31] refresh to cabal-rpm-2.0.6 --- ghc-bifunctors.spec | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index ffb0490..4d9e38d 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 bifunctors @@ -31,6 +31,7 @@ BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-discover-devel BuildRequires: ghc-transformers-compat-devel %endif # End cabal-rpm deps @@ -76,6 +77,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 @@ -88,7 +90,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 @@ -96,16 +97,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 39fa0e5509b08109e6fce441e81109cf2aa437f0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:53:57 +0800 Subject: [PATCH 22/31] bump release --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 4d9e38d..d8dd7f5 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD @@ -119,6 +119,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Fri Jul 17 2020 Jens Petersen - 5.5.7-2 +- refresh to cabal-rpm-2.0.6 + * Sun Feb 09 2020 Jens Petersen - 5.5.7-1 - update to 5.5.7 From 958aabe6ac378a721ae4db2ee8b78e5b0d93f366 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:50:08 +0000 Subject: [PATCH 23/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index d8dd7f5..7a9a917 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bifunctors License: BSD @@ -119,6 +119,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 5.5.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 5.5.7-2 - refresh to cabal-rpm-2.0.6 From 9f41a2530db16fdf74725e34e6f076b7f6c851ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:54:24 +0000 Subject: [PATCH 24/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 7a9a917..076bebc 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Bifunctors License: BSD @@ -119,6 +119,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 5.5.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 5.5.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5822fb79be6402c1b55eee2cce35a99e90847d0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:21:14 +0000 Subject: [PATCH 25/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 076bebc..3187f3c 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Bifunctors License: BSD @@ -119,6 +119,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 5.5.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 5.5.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 7102e2735331d2ec1e88ae9118740276d8b793b6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 10:19:02 +0800 Subject: [PATCH 26/31] update to 5.5.10 --- .gitignore | 1 + ghc-bifunctors.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f470177..b231b65 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /bifunctors-5.5.3.tar.gz /bifunctors-5.5.4.tar.gz /bifunctors-5.5.7.tar.gz +/bifunctors-5.5.10.tar.gz diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 3187f3c..b6ffa6b 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5.7 -Release: 5%{?dist} +Version: 5.5.10 +Release: 1%{?dist} Summary: Bifunctors License: BSD @@ -119,6 +119,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Thu Aug 5 2021 Jens Petersen - 5.5.10-1 +- update to 5.5.10 + * Thu Jul 22 2021 Fedora Release Engineering - 5.5.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 739c8d6..74447d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.7.tar.gz) = ea1632c5dc2b8d0735e3076337768bf595071d0245b85f80859dab09189d813473b574b17d5b49864bda8c2cccd348c99db0b9b890f563ecfb5f750b06a4b219 +SHA512 (bifunctors-5.5.10.tar.gz) = d2f1db9ce38b6404c9461973d7b977398c746a062443bb12298578ac85d4f9c1b272be2ff7dc5d782dea393b21ee2ad0eefe33aaa9a11233c20d111c615ce7c5 From d180b4ea6355f7fccd5fbd9ec4ac3f4fb5e94a86 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 27/31] refresh to cabal-rpm-2.0.9 --- ghc-bifunctors.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index b6ffa6b..8be78e0 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name bifunctors @@ -57,6 +57,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. @@ -77,7 +78,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 @@ -94,7 +94,9 @@ chmod a-x CHANGELOG.markdown README.markdown %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From fbc4c92d3d7f1258453af152f2b83e629d9cf9a0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 10:20:01 +0800 Subject: [PATCH 28/31] update to 5.5.11 --- .gitignore | 1 + ghc-bifunctors.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b231b65..5e1a346 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /bifunctors-5.5.4.tar.gz /bifunctors-5.5.7.tar.gz /bifunctors-5.5.10.tar.gz +/bifunctors-5.5.11.tar.gz diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 8be78e0..1991e18 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,7 +7,7 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5.10 +Version: 5.5.11 Release: 1%{?dist} Summary: Bifunctors @@ -121,6 +121,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 5.5.11-1 +- update to 5.5.11 + * Thu Aug 5 2021 Jens Petersen - 5.5.10-1 - update to 5.5.10 diff --git a/sources b/sources index 74447d2..ed24289 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.10.tar.gz) = d2f1db9ce38b6404c9461973d7b977398c746a062443bb12298578ac85d4f9c1b272be2ff7dc5d782dea393b21ee2ad0eefe33aaa9a11233c20d111c615ce7c5 +SHA512 (bifunctors-5.5.11.tar.gz) = 09f66d1a086a72a822e804521c2258acb16fd5a4a29c3758b97987f27a271f58e3dd4103518b31b3bdf44465c87fe5573a0bba168ba109287ca3370b8ab491a1 From 28f71fda7c8d01fc25f5da41c87d6c0e202c68a9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:17:44 +0800 Subject: [PATCH 29/31] revise .cabal --- bifunctors-5.5.11.cabal | 139 ++++++++++++++++++++++++++++++++++++++++ ghc-bifunctors.spec | 3 + 2 files changed, 142 insertions(+) create mode 100644 bifunctors-5.5.11.cabal diff --git a/bifunctors-5.5.11.cabal b/bifunctors-5.5.11.cabal new file mode 100644 index 0000000..e9ff09d --- /dev/null +++ b/bifunctors-5.5.11.cabal @@ -0,0 +1,139 @@ +name: bifunctors +category: Data, Functors +version: 5.5.11 +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/bifunctors/ +bug-reports: http://github.com/ekmett/bifunctors/issues +copyright: Copyright (C) 2008-2016 Edward A. Kmett +synopsis: Bifunctors +description: Bifunctors. +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.4 + , GHC == 9.0.1 +extra-source-files: + CHANGELOG.markdown + README.markdown + include/bifunctors-common.h + +source-repository head + type: git + location: https://github.com/ekmett/bifunctors.git + +flag semigroups + default: True + manual: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + default: True + manual: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + hs-source-dirs: src + include-dirs: include + includes: bifunctors-common.h + build-depends: + base >= 4.3 && < 5, + base-orphans >= 0.8.4 && < 1, + comonad >= 5.0.7 && < 6, + containers >= 0.2 && < 0.7, + template-haskell >= 2.4 && < 2.19, + th-abstraction >= 0.4.2.0 && < 0.5, + transformers >= 0.3 && < 0.7 + + if !impl(ghc > 8.2) + build-depends: transformers-compat >= 0.5 && < 0.8 + + if !impl(ghc >= 8.0) + build-depends: fail == 4.9.* + + if flag(tagged) + build-depends: tagged >= 0.8.6 && < 1 + + if flag(semigroups) && !impl(ghc >= 8.0) + build-depends: semigroups >= 0.18.5 && < 1 + + if impl(ghc<7.9) + hs-source-dirs: old-src/ghc709 + exposed-modules: Data.Bifunctor + + if impl(ghc<8.1) + hs-source-dirs: old-src/ghc801 + exposed-modules: + Data.Bifoldable + Data.Bitraversable + + if impl(ghc>=7.2) && impl(ghc<7.5) + build-depends: ghc-prim == 0.2.0.0 + + exposed-modules: + Data.Biapplicative + Data.Bifunctor.Biap + Data.Bifunctor.Biff + Data.Bifunctor.Clown + Data.Bifunctor.Fix + Data.Bifunctor.Flip + Data.Bifunctor.Functor + Data.Bifunctor.Join + Data.Bifunctor.Joker + Data.Bifunctor.Product + Data.Bifunctor.Sum + Data.Bifunctor.Tannen + Data.Bifunctor.TH + Data.Bifunctor.Wrapped + + other-modules: + Data.Bifunctor.TH.Internal + Paths_bifunctors + + ghc-options: -Wall + default-language: Haskell2010 + + 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 + +test-suite bifunctors-spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Spec.hs + other-modules: BifunctorSpec T89Spec + ghc-options: -Wall + if impl(ghc >= 8.6) + ghc-options: -Wno-star-is-type + default-language: Haskell2010 + build-tool-depends: hspec-discover:hspec-discover >= 1.8 + build-depends: + base >= 4 && < 5, + bifunctors, + hspec >= 1.8, + QuickCheck >= 2 && < 3, + template-haskell, + transformers, + transformers-compat + diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 1991e18..53f68df 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.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 @@ -78,6 +80,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 f4ee75bd27e960378135cdfa905cac69e64a9e6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:33:43 +0000 Subject: [PATCH 30/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-bifunctors.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 53f68df..251110f 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 5.5.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bifunctors License: BSD @@ -124,6 +124,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 5.5.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 5.5.11-1 - update to 5.5.11 From 1b029ead44c5afd35dd43131d0b1bba45989a9a6 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:25:19 +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 ed24289..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (bifunctors-5.5.11.tar.gz) = 09f66d1a086a72a822e804521c2258acb16fd5a4a29c3758b97987f27a271f58e3dd4103518b31b3bdf44465c87fe5573a0bba168ba109287ca3370b8ab491a1