From 395177b82f44d13fb2e2a7746b2f1d2da5aa2407 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 4 Sep 2017 18:14:20 +0000 Subject: [PATCH 01/29] 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..4d85cff --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-pem + +The ghc-pem package \ No newline at end of file From 078ff04dbe5f520b908d86f23abf908fe2db2d94 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 4 Sep 2017 19:03:34 -0400 Subject: [PATCH 02/29] Initial import (#1487894). --- .gitignore | 1 + README.md | 3 -- ghc-pem.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 100 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-pem.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d117a82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pem-0.2.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 4d85cff..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-pem - -The ghc-pem package \ No newline at end of file diff --git a/ghc-pem.spec b/ghc-pem.spec new file mode 100644 index 0000000..86faa26 --- /dev/null +++ b/ghc-pem.spec @@ -0,0 +1,98 @@ +# generated by cabal-rpm-0.10.0 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name pem + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.2.2 +Release: 5.git.0.d4ff3d0%{?dist} +Summary: Privacy Enhanced Mail (PEM) format reader and writer + +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-base64-bytestring-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-mtl-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif +# End cabal-rpm deps + +%description +Privacy Enhanced Mail (PEM) format reader and writer. + + +%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 + +rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE +%{_datadir}/%{pkg_name}-%{version} + + +%files devel -f %{name}-devel.files +%doc README.md + + +%changelog +* Mon Jul 17 2017 Elliott Sales de Andrade 0.2.2-5 +- Re-add dist tag to release numbers. + +* Mon Jul 17 2017 Elliott Sales de Andrade 0.2.2-4 +- Bump for Fedora 26. + +* Thu Dec 15 2016 Elliott Sales de Andrade - 0.2.2-3 +- spec file generated by cabal-rpm-0.10.0 +- Update release to be newer than previous builds + +* Mon May 02 2016 Elliott Sales de Andrade - 0.2.2-2 +- Bump to rebuild against new dependencies + +* Sun Aug 23 2015 Ben Boeckel - 0.2.2-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..b665199 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pem-0.2.2.tar.gz) = 699b13a89c9caa14c25d4a4e1775bc1ccd9b681193622d9638049631dd84b8ddf4e1b25fa5f31b36c8192157c7303b11226917e57d92abc0366bb01bd527b64a From 47499a8487579e86dc11a84f0c161362cc50401e Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 4 Sep 2017 19:03:51 -0400 Subject: [PATCH 03/29] Fix release number. --- ghc-pem.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 86faa26..8c154a2 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 0.2.2 -Release: 5.git.0.d4ff3d0%{?dist} +Release: 5%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD From d860689e8c9d2ad30d4cd169aa82ef44ea7db6a2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:45 +0100 Subject: [PATCH 04/29] refresh to cabal-rpm-0.12.1 --- ghc-pem.spec | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 8c154a2..23d192f 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -1,7 +1,8 @@ -# generated by cabal-rpm-0.10.0 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name pem +%global pkgver %{pkg_name}-%{version} %bcond_with tests @@ -12,7 +13,7 @@ Summary: Privacy Enhanced Mail (PEM) format reader and writer 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 @@ -36,9 +37,12 @@ Privacy Enhanced Mail (PEM) format reader and writer. %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 @@ -46,7 +50,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -56,13 +60,19 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md +rm %{buildroot}%{_datadir}/%{pkgver}/README.md %check %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache @@ -73,7 +83,6 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md %files -f %{name}.files %license LICENSE -%{_datadir}/%{pkg_name}-%{version} %files devel -f %{name}-devel.files From 4920b39aee062a20c351981c415fa812d194c1ed Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:50:06 +0100 Subject: [PATCH 05/29] bump release --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 23d192f..6b74aaf 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -90,6 +90,9 @@ rm %{buildroot}%{_datadir}/%{pkgver}/README.md %changelog +* Fri Jan 26 2018 Jens Petersen - 0.2.2-6 +- rebuild + * Mon Jul 17 2017 Elliott Sales de Andrade 0.2.2-5 - Re-add dist tag to release numbers. From 1e146d262aeb7dd2c419e45e99f16c925e391afd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:10 +0900 Subject: [PATCH 06/29] drop ldconfig scriptlets --- ghc-pem.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 6b74aaf..c0ad9a8 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -67,12 +67,6 @@ rm %{buildroot}%{_datadir}/%{pkgver}/README.md %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 7cdb0cbcd11d526ac13bd8cc83fd91e0023e57d5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:59:21 +0000 Subject: [PATCH 07/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index c0ad9a8..7c90c08 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -84,6 +84,9 @@ rm %{buildroot}%{_datadir}/%{pkgver}/README.md %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.2.2-6 - rebuild From f53159b8319e97598c924b02fde9261852344702 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 9 Jul 2018 01:02:49 -0400 Subject: [PATCH 08/29] update to 0.2.4 --- .gitignore | 1 + ghc-pem.spec | 14 +++++++------- sources | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d117a82..00aa14e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pem-0.2.2.tar.gz +/pem-0.2.4.tar.gz diff --git a/ghc-pem.spec b/ghc-pem.spec index 7c90c08..3bf889b 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.2 -Release: 7%{?dist} +Version: 0.2.4 +Release: 1%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -18,9 +18,9 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: -BuildRequires: ghc-base64-bytestring-devel +BuildRequires: ghc-basement-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-mtl-devel +BuildRequires: ghc-memory-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -60,8 +60,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{_datadir}/%{pkgver}/README.md - %check %cabal_test @@ -80,10 +78,12 @@ rm %{buildroot}%{_datadir}/%{pkgver}/README.md %files devel -f %{name}-devel.files -%doc README.md %changelog +* Mon Jul 09 2018 Elliott Sales de Andrade - 0.2.4-1 +- update to 0.2.4 + * Wed Feb 07 2018 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index b665199..0a16388 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pem-0.2.2.tar.gz) = 699b13a89c9caa14c25d4a4e1775bc1ccd9b681193622d9638049631dd84b8ddf4e1b25fa5f31b36c8192157c7303b11226917e57d92abc0366bb01bd527b64a +SHA512 (pem-0.2.4.tar.gz) = c27531ae89e69cebbeeecdf3cf72b897eb65c2f9b22c898bf88d79664f1b54b592f0e0f2bc007f84ec3b0efee8bd20eee187bf73a2947b2fc7d9f4a7e418872d From 3a8a9fc3ad2521d2f37b7a10b6daf1788ead3722 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:02:05 +0000 Subject: [PATCH 09/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 3bf889b..5e5e727 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jul 09 2018 Elliott Sales de Andrade - 0.2.4-1 - update to 0.2.4 From 4e6ffb52c3ccf54557603c6602068492c2eff24d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 23 Jul 2018 13:41:48 +0200 Subject: [PATCH 10/29] Rebuilt for #1607054 --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 5e5e727..ae7433f 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 23 2018 Miro Hrončok - 0.2.4-3 +- Rebuilt for #1607054 + * Fri Jul 13 2018 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From e79f525263306a6e9cc4b4e8472c12468b67db16 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:05:51 +0900 Subject: [PATCH 11/29] rebuild --- ghc-pem.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index ae7433f..179563b 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 0.2.4-4 +- rebuild + * Mon Jul 23 2018 Miro Hrončok - 0.2.4-3 - Rebuilt for #1607054 From 9f0c8f6e86a5797fb6e1402268e3b1627c797368 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:52:02 +0000 Subject: [PATCH 12/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 179563b..a2f7f22 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 0.2.4-4 - rebuild From 29e09d864fb2361236684e5332f77bd9de825014 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:46:38 +0800 Subject: [PATCH 13/29] refresh to cabal-rpm-0.13 --- ghc-pem.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index a2f7f22..76a586a 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer 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-basement-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-memory-devel @@ -50,15 +52,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 @@ -74,13 +82,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.2.4-6 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 9e55f6519a746925d7cf30a6f6c39ad5939acc5d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:50:49 +0000 Subject: [PATCH 14/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 76a586a..35f7787 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -91,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.2.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.2.4-6 - refresh to cabal-rpm-0.13 From 43b30d0b8fc15f261d1219abd41e60e9715bdb2a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:25:09 +0000 Subject: [PATCH 15/29] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-pem.spec | 53 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 35f7787..e8e9dc2 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -19,6 +19,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-basement-devel BuildRequires: ghc-bytestring-devel @@ -39,11 +45,8 @@ Privacy Enhanced Mail (PEM) format reader and writer. %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} @@ -51,6 +54,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} @@ -73,14 +95,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 @@ -90,7 +104,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 +* Fri Aug 02 2019 Jens Petersen - 0.2.4-8 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.2.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 0343a47712287a31ae513b5778bde55924f9f455 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:31:05 +0800 Subject: [PATCH 16/29] BR prof for lib and static for executable --- ghc-pem.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index e8e9dc2..ae97478 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem @@ -19,16 +19,11 @@ 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-basement-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-memory-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-basement-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-memory-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -45,6 +40,7 @@ Privacy Enhanced Mail (PEM) format reader and writer. %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 1d49c9d206cce089f6d7d7376d78c5e4c610ce6e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:11:25 +0000 Subject: [PATCH 17/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index ae97478..20ed600 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.2.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 02 2019 Jens Petersen - 0.2.4-8 - add doc and prof subpackages (cabal-rpm-1.0.0) From c86bd78fb9956f4fec47b5ac3158b8c5d349dabe Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:51:28 +0800 Subject: [PATCH 18/29] refresh to cabal-rpm-2.0.2 --- ghc-pem.spec | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 20ed600..0add0bb 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -1,14 +1,12 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name pem %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -24,13 +22,6 @@ BuildRequires: ghc-base-prof BuildRequires: ghc-basement-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-memory-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-hunit-devel -BuildRequires: ghc-test-framework-quickcheck2-devel -%endif # End cabal-rpm deps %description @@ -53,6 +44,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. @@ -63,6 +55,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. @@ -87,8 +80,14 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif %files -f %{name}.files @@ -102,6 +101,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Wed Feb 19 2020 Jens Petersen - 0.2.4-10 +- refresh to cabal-rpm-2.0.2 + * Tue Jan 28 2020 Fedora Release Engineering - 0.2.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 18728a032a09127d899e77f05996db7307f47cef Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:27:44 +0800 Subject: [PATCH 19/29] refresh to cabal-rpm-2.0.5 --- ghc-pem.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 0add0bb..2ac964c 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem %global pkgver %{pkg_name}-%{version} From ea916fe7476781e29d079dbbb6f4bdde84ced624 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:56:21 +0800 Subject: [PATCH 20/29] refresh to cabal-rpm-2.0.6 --- ghc-pem.spec | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 2ac964c..6eda80f 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -1,9 +1,11 @@ -# 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 pem %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 + Name: ghc-%{pkg_name} Version: 0.2.4 Release: 10%{?dist} @@ -80,16 +82,6 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%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 b70e2c1c079cce863ef4fbefb094a48d7f2f07a5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:29:43 +0800 Subject: [PATCH 21/29] bump release --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 6eda80f..8b20e6f 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Jul 17 2020 Jens Petersen - 0.2.4-11 +- refresh to cabal-rpm-2.0.6 + * Wed Feb 19 2020 Jens Petersen - 0.2.4-10 - refresh to cabal-rpm-2.0.2 From 8ac1699d6bdea66466e69ff3c65d265db4f96e1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:30:35 +0000 Subject: [PATCH 22/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 8b20e6f..f43d34d 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.2.4-11 - refresh to cabal-rpm-2.0.6 From 2d81d0d13a8abecfc2d3bcfb72097d04778ed732 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:19:46 +0000 Subject: [PATCH 23/29] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index f43d34d..365687f 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -103,6 +103,10 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.2.4-13 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.2.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 0f2b7b26bd49c2348c6bfee54f340d6b8a49c1d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:35:00 +0000 Subject: [PATCH 24/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 365687f..cb38ee2 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.2.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 0.2.4-13 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d4f0213411d698fc4c7b0224af5b99c979b8cfc1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:04:40 +0000 Subject: [PATCH 25/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index cb38ee2..b6c60f5 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.2.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.2.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 99f91ae203c9d516e7b0296601579f89ec8ff043 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:12 +0800 Subject: [PATCH 26/29] refresh to cabal-rpm-2.0.9 --- ghc-pem.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index b6c60f5..b162493 100644 --- a/ghc-pem.spec +++ b/ghc-pem.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 pem @@ -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. From 4c872e761a6a376e7116678e9883e9c06411a852 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 12:18:45 +0800 Subject: [PATCH 27/29] bump release --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index b162493..652807c 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Aug 06 2021 Jens Petersen - 0.2.4-16 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.2.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 395e3d94fdc4abfcff7bbd5e2d28d9907c6effba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:21:16 +0000 Subject: [PATCH 28/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-pem.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-pem.spec b/ghc-pem.spec index 652807c..b309302 100644 --- a/ghc-pem.spec +++ b/ghc-pem.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.4 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Privacy Enhanced Mail (PEM) format reader and writer License: BSD @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.2.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 0.2.4-16 - rebuild From 4422750b58292f86159f2faea6cfce99c9b8244e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:50:50 +0300 Subject: [PATCH 29/29] 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 0a16388..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pem-0.2.4.tar.gz) = c27531ae89e69cebbeeecdf3cf72b897eb65c2f9b22c898bf88d79664f1b54b592f0e0f2bc007f84ec3b0efee8bd20eee187bf73a2947b2fc7d9f4a7e418872d