From e5f0ae2d56e4b5b132a6108aab48a529e5cc706b Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 17 Jan 2018 15:46:00 +0000 Subject: [PATCH 01/25] 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..40a4457 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-call-stack + +The ghc-call-stack package \ No newline at end of file From 463a4339f5fb334d717ee0530bd1b813fb6cbcbb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 18 Jan 2018 12:45:18 +0900 Subject: [PATCH 02/25] import (#1533801) --- .gitignore | 1 + README.md | 3 -- ghc-call-stack.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-call-stack.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3df161f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/call-stack-0.1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 40a4457..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-call-stack - -The ghc-call-stack package \ No newline at end of file diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec new file mode 100644 index 0000000..52875ec --- /dev/null +++ b/ghc-call-stack.spec @@ -0,0 +1,78 @@ +# generated by cabal-rpm-0.12 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name call-stack +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.1.0 +Release: 1%{?dist} +Summary: GHC call-stacks backward compatibility + +License: MIT +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: +%if %{with tests} +BuildRequires: ghc-nanospec-devel +%endif +# End cabal-rpm deps + +%description +Use GHC call-stacks in a backward compatible way. + + +%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 +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 + + +%changelog +* Fri Jan 12 2018 Fedora Haskell SIG - 0.1.0-1 +- spec file generated by cabal-rpm-0.12 diff --git a/sources b/sources new file mode 100644 index 0000000..d64fcb1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (call-stack-0.1.0.tar.gz) = 4b8fa206041976948411c7e7babd481b01297c289be72f56dcd56b090bec3b0d3c0a6ef4ce17bb5bd879f08b8059f36ebea664c3c263283457a519e5ce20a0f6 From 957ae4a176baf01d6ddb58b46811eeef9c0bea42 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 18 Jan 2018 12:47:48 +0900 Subject: [PATCH 03/25] bump release over ghc-HUnit --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 52875ec..c602997 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 1%{?dist} +Release: 4%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -74,5 +74,8 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 18 2018 Jens Petersen - 0.1.0-4 +- bump release over ghc-HUnit + * Fri Jan 12 2018 Fedora Haskell SIG - 0.1.0-1 - spec file generated by cabal-rpm-0.12 From d1f7bc98996862899a5f342d63d9c56902df5a7e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 09:17:09 +0100 Subject: [PATCH 04/25] refresh to cabal-rpm-0.12.1 --- ghc-call-stack.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index c602997..69f385e 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name call-stack @@ -58,6 +58,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 1e2948d93244e978185875eb0fe5720201cec5ab Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:22:03 +0100 Subject: [PATCH 05/25] bump release --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 69f385e..26df9d9 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -80,6 +80,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 0.1.0-5 +- rebuild + * Thu Jan 18 2018 Jens Petersen - 0.1.0-4 - bump release over ghc-HUnit From 28ccf7f684297f19e21719e570061fcdcf731154 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:06 +0900 Subject: [PATCH 06/25] drop ldconfig scriptlets --- ghc-call-stack.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 26df9d9..8d67b28 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -58,12 +58,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 8aae87fc3ea18299df4e20b5d9b5bc83096811ab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:24:01 +0000 Subject: [PATCH 07/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 8d67b28..203a02a 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -74,6 +74,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.1.0-5 - rebuild From cc2ebf9c86dc6d8ab3e011bbf18ab2bc49f120ad Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:37:18 +0000 Subject: [PATCH 08/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 203a02a..4a98ac9 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -74,6 +74,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ad5298c9c3dcd367dbea3b7761ef64520cfbae48 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:16:10 +0000 Subject: [PATCH 09/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 4a98ac9..d06fdb1 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -74,6 +74,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 309378b6e7962b27e908a79fa79743e78be4fc36 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:49 +0800 Subject: [PATCH 10/25] refresh to cabal-rpm-0.13 --- ghc-call-stack.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index d06fdb1..f83f93a 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name call-stack @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: GHC call-stacks backward compatibility License: MIT 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: %if %{with tests} BuildRequires: ghc-nanospec-devel %endif @@ -43,15 +45,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 @@ -67,13 +75,18 @@ 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 %changelog +* Sun Feb 17 2019 Jens Petersen - 0.1.0-9 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From babe428c1a28bd67d12044fdc2d8a618b310d641 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:12:18 +0000 Subject: [PATCH 11/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index f83f93a..f01828c 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -84,6 +84,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.1.0-9 - refresh to cabal-rpm-0.13 From 4039678113c63c486a3589487fd316cb8f4d2ae5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:59 +0000 Subject: [PATCH 12/25] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-call-stack.spec | 53 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index f01828c..a009ed4 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -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 %if %{with tests} BuildRequires: ghc-nanospec-devel @@ -32,11 +38,8 @@ Use GHC call-stacks in a backward compatible way. %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} @@ -44,6 +47,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} @@ -66,14 +88,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 @@ -83,7 +97,20 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog +* Thu Aug 01 2019 Jens Petersen - 0.1.0-11 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 708fe7d3aaa9e17d831ab35c14723b030e7ea1f8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:58 +0800 Subject: [PATCH 13/25] BR prof for lib and static for executable --- ghc-call-stack.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index a009ed4..cf0343d 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack @@ -19,13 +19,8 @@ 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-prof %if %{with tests} BuildRequires: ghc-nanospec-devel %endif @@ -38,6 +33,7 @@ Use GHC call-stacks in a backward compatible way. %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 1a20ef47d009b2e5c93da71ffe93cfc6176720d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:23:17 +0000 Subject: [PATCH 14/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index cf0343d..078894e 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.1.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 0.1.0-11 - add doc and prof subpackages (cabal-rpm-1.0.0) From 3fed6f6f0aad33a1e901f618a31870356d028b0b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:17 +0800 Subject: [PATCH 15/25] refresh to cabal-rpm-2.0.2 --- ghc-call-stack.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 078894e..19bbd3b 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack @@ -46,6 +46,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. @@ -56,6 +57,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. @@ -84,6 +86,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 @@ -95,6 +107,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 3ad70f56d5008d335b0ab8672d243e614a7e7528 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:32 +0800 Subject: [PATCH 16/25] refresh to cabal-rpm-2.0.5 --- ghc-call-stack.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 19bbd3b..f3319b9 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack %global pkgver %{pkg_name}-%{version} From 0699be21c131fcc0ec3dcc0c42c9c6c79a8ca16a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 8 Jun 2020 01:47:35 +0800 Subject: [PATCH 17/25] update to 0.2.0 --- .gitignore | 1 + ghc-call-stack.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3df161f..9817373 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /call-stack-0.1.0.tar.gz +/call-stack-0.2.0.tar.gz diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index f3319b9..38caf68 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.0 -Release: 12%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -117,6 +117,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Jun 07 2020 Jens Petersen - 0.2.0-1 +- update to 0.2.0 + * Tue Jan 28 2020 Fedora Release Engineering - 0.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index d64fcb1..17b4354 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (call-stack-0.1.0.tar.gz) = 4b8fa206041976948411c7e7babd481b01297c289be72f56dcd56b090bec3b0d3c0a6ef4ce17bb5bd879f08b8059f36ebea664c3c263283457a519e5ce20a0f6 +SHA512 (call-stack-0.2.0.tar.gz) = c22862ca24906b07e258690da8c7f6fadf87f4216023cbe847e8ddf0c87548e5c353b5cd82c4748c6ef09604556884caafe5fdc1996be9d000d2db29aaef1537 From d2ae8fa530b7a791bc8e25148377a857543730b3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:54:09 +0800 Subject: [PATCH 18/25] refresh to cabal-rpm-2.0.6 --- ghc-call-stack.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 38caf68..838ff0d 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack @@ -86,16 +86,6 @@ 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 From c1158511fd29ae61a375b4f0f228c2ddb1270ae1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:53:15 +0000 Subject: [PATCH 19/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 838ff0d..1981492 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -107,6 +107,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sun Jun 07 2020 Jens Petersen - 0.2.0-1 - update to 0.2.0 From 04ec642d80866294455948c43d8f275a067ba6ae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:57:24 +0000 Subject: [PATCH 20/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 1981492..0b59c8f 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -107,6 +107,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 6979fd82b6292019e0e97d31e0f5668e04b5548d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:24:35 +0000 Subject: [PATCH 21/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 0b59c8f..f108970 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -107,6 +107,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From eadb184b198a63ec9a39cb98ad671ba90bbafa3c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 22/25] refresh to cabal-rpm-2.0.9 --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index f108970..21dd1a4 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.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 call-stack @@ -47,6 +47,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. @@ -83,7 +84,9 @@ This package provides the Haskell %{pkg_name} profiling library. %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 7dd6adb842fe4f1861971bf4653e582122cad5ed Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 01:42:15 +0800 Subject: [PATCH 23/25] update to 0.3.0 --- .gitignore | 1 + ghc-call-stack.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9817373..f975858 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /call-stack-0.1.0.tar.gz /call-stack-0.2.0.tar.gz +/call-stack-0.3.0.tar.gz diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 21dd1a4..18bdffa 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.0 -Release: 4%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -110,6 +110,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 0.3.0-1 +- update to 0.3.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 17b4354..7b01896 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (call-stack-0.2.0.tar.gz) = c22862ca24906b07e258690da8c7f6fadf87f4216023cbe847e8ddf0c87548e5c353b5cd82c4748c6ef09604556884caafe5fdc1996be9d000d2db29aaef1537 +SHA512 (call-stack-0.3.0.tar.gz) = 32d805957dbe8965c22a74f1c9fed950f5c8df599ce5d447b3eae08fbbf65a01286be95444ca9db654a5189b062b4cf121dcd771c6bd981ca9d12e0df206533d From ed2ff5df726e66f02bb041c539a13ca7e934ee6d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:37:24 +0000 Subject: [PATCH 24/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-call-stack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-call-stack.spec b/ghc-call-stack.spec index 18bdffa..b4cc2ed 100644 --- a/ghc-call-stack.spec +++ b/ghc-call-stack.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GHC call-stacks backward compatibility License: MIT @@ -110,6 +110,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.3.0-1 - update to 0.3.0 From 44027a4afc0c0a28753f260181ea7ac0c1b8d4c3 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:27:11 +0300 Subject: [PATCH 25/25] 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 7b01896..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (call-stack-0.3.0.tar.gz) = 32d805957dbe8965c22a74f1c9fed950f5c8df599ce5d447b3eae08fbbf65a01286be95444ca9db654a5189b062b4cf121dcd771c6bd981ca9d12e0df206533d