From 2f06c7afde23706f2264aec18b39ae584006a9b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 23 Apr 2012 12:38:30 +0000 Subject: [PATCH 01/42] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 8374f78a96a6aa20df05437fa8d45ccc0ba71784 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Apr 2012 09:58:01 +0900 Subject: [PATCH 02/42] import (#812702) --- .gitignore | 1 + ghc-SHA.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 ghc-SHA.spec diff --git a/.gitignore b/.gitignore index e69de29..413d019 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/SHA-1.5.0.1.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec new file mode 100644 index 0000000..730c6ff --- /dev/null +++ b/ghc-SHA.spec @@ -0,0 +1,66 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name SHA + +%global common_summary SHA message digest functions + +%global common_description This library implements the SHA suite of message digest functions,\ +according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as\ +the SHA-based HMAC routines. The functions have been tested against\ +most of the NIST and RFC test vectors for the various functions.\ +While some attention has been paid to performance, these do not\ +presently reach the speed of well-tuned libraries, like OpenSSL. + +Name: ghc-%{pkg_name} +Version: 1.5.0.1 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-binary-devel + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Mon Apr 16 2012 Jens Petersen - 1.5.0.1-1 +- BSD +- depends on binary + +* Mon Apr 16 2012 Fedora Haskell SIG +- spec file template generated by cabal2spec-0.25.5 diff --git a/sources b/sources index e69de29..6f42534 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f9636736c092eee0ff38fe4166043fce SHA-1.5.0.1.tar.gz From eb2279bb9a24c3c8694b414f8527d164d031fb25 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 00:17:02 -0500 Subject: [PATCH 03/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 730c6ff..eedfcb2 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -15,7 +15,7 @@ presently reach the speed of well-tuned libraries, like OpenSSL. Name: ghc-%{pkg_name} Version: 1.5.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -58,6 +58,9 @@ BuildRequires: ghc-binary-devel %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 1.5.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Mon Apr 16 2012 Jens Petersen - 1.5.0.1-1 - BSD - depends on binary From 421da5c4e706a499e5320144ab9c7bd7be464da4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Nov 2012 22:21:24 +0900 Subject: [PATCH 04/42] update to 1.5.1 --- .gitignore | 1 + ghc-SHA.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 413d019..20592e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /SHA-1.5.0.1.tar.gz +/SHA-1.5.1.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec index eedfcb2..f6e56e5 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -14,20 +13,21 @@ While some attention has been paid to performance, these do not\ presently reach the speed of well-tuned libraries, like OpenSSL. Name: ghc-%{pkg_name} -Version: 1.5.0.1 -Release: 2%{?dist} +Version: 1.5.1 +Release: 1%{?dist} Summary: %{common_summary} -Group: System Environment/Libraries License: BSD -# BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel +BuildRequires: ghc-bytestring-devel +# End cabal-rpm deps %description %{common_description} @@ -45,7 +45,6 @@ BuildRequires: ghc-binary-devel %ghc_lib_install -# devel subpackage %ghc_devel_package %ghc_devel_description @@ -58,6 +57,9 @@ BuildRequires: ghc-binary-devel %changelog +* Wed Nov 07 2012 Jens Petersen - 1.5.1-1 +- update to 1.5.1 + * Thu Jul 19 2012 Fedora Release Engineering - 1.5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 6f42534..026b008 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f9636736c092eee0ff38fe4166043fce SHA-1.5.0.1.tar.gz +2fe6d1eb6ebb01ec403df8bb89879019 SHA-1.5.1.tar.gz From 892920e04cbbd4a21610b6f0e2aee8ba221e9f5b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 16:54:05 -0600 Subject: [PATCH 05/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index f6e56e5..851f3d4 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -14,7 +14,7 @@ presently reach the speed of well-tuned libraries, like OpenSSL. Name: ghc-%{pkg_name} Version: 1.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} License: BSD @@ -57,6 +57,9 @@ BuildRequires: ghc-bytestring-devel %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Nov 07 2012 Jens Petersen - 1.5.1-1 - update to 1.5.1 From 9e53c04634b346480b3d8cdb970fe111b8ead569 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 12 Mar 2013 23:54:04 +0900 Subject: [PATCH 06/42] update to 1.6.1 --- .gitignore | 1 + ghc-SHA.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 20592e3..2256668 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /SHA-1.5.0.1.tar.gz /SHA-1.5.1.tar.gz +/SHA-1.6.1.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 851f3d4..811c842 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -13,8 +13,8 @@ While some attention has been paid to performance, these do not\ presently reach the speed of well-tuned libraries, like OpenSSL. Name: ghc-%{pkg_name} -Version: 1.5.1 -Release: 2%{?dist} +Version: 1.6.1 +Release: 1%{?dist} Summary: %{common_summary} License: BSD @@ -27,6 +27,7 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-directory-devel # End cabal-rpm deps %description @@ -57,6 +58,9 @@ BuildRequires: ghc-bytestring-devel %changelog +* Tue Mar 12 2013 Jens Petersen - 1.6.1-1 +- update to 1.6.1 + * Wed Feb 13 2013 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 026b008..e457341 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2fe6d1eb6ebb01ec403df8bb89879019 SHA-1.5.1.tar.gz +f5137dab057c1f80b848da1ee2aaac70 SHA-1.6.1.tar.gz From 7b169e138b4e2df81dd95e1d475cbda156719700 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 7 Jun 2013 12:48:04 +0900 Subject: [PATCH 07/42] update to new simplified Haskell Packaging Guidelines --- ghc-SHA.spec | 47 ++++++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 811c842..fb62871 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,21 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name SHA -%global common_summary SHA message digest functions - -%global common_description This library implements the SHA suite of message digest functions,\ -according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as\ -the SHA-based HMAC routines. The functions have been tested against\ -most of the NIST and RFC test vectors for the various functions.\ -While some attention has been paid to performance, these do not\ -presently reach the speed of well-tuned libraries, like OpenSSL. - Name: ghc-%{pkg_name} Version: 1.6.1 -Release: 1%{?dist} -Summary: %{common_summary} +Release: 2%{?dist} +Summary: SHA message digest functions License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -31,7 +21,23 @@ BuildRequires: ghc-directory-devel # End cabal-rpm deps %description -%{common_description} +This library implements the SHA suite of message digest functions, +according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as +the SHA-based HMAC routines. The functions have been tested against +most of the NIST and RFC test vectors for the various functions. +While some attention has been paid to performance, these do not +presently reach the speed of well-tuned libraries, like OpenSSL. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep @@ -46,18 +52,25 @@ BuildRequires: ghc-directory-devel %ghc_lib_install -%ghc_devel_package +%post devel +%ghc_pkg_recache -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE + +%files devel -f %{name}-devel.files %changelog +* Fri Jun 07 2013 Jens Petersen - 1.6.1-2 +- update to new simplified Haskell Packaging Guidelines + * Tue Mar 12 2013 Jens Petersen - 1.6.1-1 - update to 1.6.1 From 5c3edefbaa3797743822cd29f6d953f6dc963196 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 08:19:10 -0500 Subject: [PATCH 08/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index fb62871..66cc82a 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 1.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SHA message digest functions License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Fri Jun 07 2013 Jens Petersen - 1.6.1-2 - update to new simplified Haskell Packaging Guidelines From 38fe3147af91a1d8ed88fcd09ae7d903a1a3940a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 09:23:39 -0500 Subject: [PATCH 09/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 66cc82a..a58a442 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 1.6.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: SHA message digest functions License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 1.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From b98f1ce981adb1013b696ae1209111ee99af8a54 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 14:34:32 +0000 Subject: [PATCH 10/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index a58a442..bf43ab5 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 1.6.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: SHA message digest functions License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 1.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 55c8fc3a5a6abd79da33503f755e47de87d7e787 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Jan 2015 21:46:40 +0900 Subject: [PATCH 11/42] update to 1.6.4.1 --- .gitignore | 1 + ghc-SHA.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 2256668..59ee8af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /SHA-1.5.0.1.tar.gz /SHA-1.5.1.tar.gz /SHA-1.6.1.tar.gz +/SHA-1.6.4.1.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec index bf43ab5..2e13bb2 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -3,13 +3,13 @@ %global pkg_name SHA Name: ghc-%{pkg_name} -Version: 1.6.1 -Release: 5%{?dist} +Version: 1.6.4.1 +Release: 1%{?dist} Summary: SHA message digest functions License: BSD -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +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 @@ -17,7 +17,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-directory-devel # End cabal-rpm deps %description @@ -31,10 +30,11 @@ presently reach the speed of well-tuned libraries, like OpenSSL. %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} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Tue Jan 20 2015 Jens Petersen - 1.6.4.1-1 +- update to 1.6.4.1 + * Sat Aug 16 2014 Fedora Release Engineering - 1.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index e457341..18153a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f5137dab057c1f80b848da1ee2aaac70 SHA-1.6.1.tar.gz +b6c73a912f3fab1432f397bc4f120814 SHA-1.6.4.1.tar.gz From a3a0fa17450b91498d5c2b0155b1afc5a3a45fe7 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:29:33 +0000 Subject: [PATCH 12/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 2e13bb2..36a6ccf 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SHA message digest functions License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.6.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Jan 20 2015 Jens Petersen - 1.6.4.1-1 - update to 1.6.4.1 From 22c24a62dc06e05e29ef6028aa2074031ad5f458 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:23:52 +0000 Subject: [PATCH 13/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 36a6ccf..16f2ba3 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SHA message digest functions License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 1.6.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.6.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 807d4ba26bf20f07363f46a0077f5abe0150c5f7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 26 Jun 2016 17:42:07 +0900 Subject: [PATCH 14/42] update to 1.6.4.2 --- .gitignore | 1 + ghc-SHA.spec | 26 +++++++++++++++++++++++--- sources | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 59ee8af..a843ecf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /SHA-1.5.1.tar.gz /SHA-1.6.1.tar.gz /SHA-1.6.4.1.tar.gz +/SHA-1.6.4.2.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 16f2ba3..b82ee2c 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,10 +1,13 @@ +# generated by cabal-rpm-0.9.11 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name SHA +%bcond_with tests + Name: ghc-%{pkg_name} -Version: 1.6.4.1 -Release: 3%{?dist} +Version: 1.6.4.2 +Release: 1%{?dist} Summary: SHA message digest functions License: BSD @@ -17,6 +20,12 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-directory-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif # End cabal-rpm deps %description @@ -51,6 +60,14 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + + +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache @@ -61,13 +78,16 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %changelog +* Sun Jun 26 2016 Jens Petersen - 1.6.4.2-1 +- update to 1.6.4.2 + * Wed Feb 03 2016 Fedora Release Engineering - 1.6.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 18153a5..7cb53d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b6c73a912f3fab1432f397bc4f120814 SHA-1.6.4.1.tar.gz +e2ee68e4b1a5e1772fe72d601dd6a2f0 SHA-1.6.4.2.tar.gz From eef49a1212c808d685f2ae3bbe7a0fa81b778717 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 19:15:25 +0900 Subject: [PATCH 15/42] no longer remove license; use cabal_test --- ghc-SHA.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index b82ee2c..aceb35c 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -60,13 +60,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post devel From 18a277d85205c8f14d838fc3ac4356e6add0347a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:32:02 +0000 Subject: [PATCH 16/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index aceb35c..bfa6949 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SHA message digest functions License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.6.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Sun Jun 26 2016 Jens Petersen - 1.6.4.2-1 - update to 1.6.4.2 From dc99a7ae3b33743bd092ab74f26491706b8e0703 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Feb 2017 17:48:07 +0900 Subject: [PATCH 17/42] refresh to cabal-rpm-0.11.1 --- ghc-SHA.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index bfa6949..807d601 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,18 +1,19 @@ -# generated by cabal-rpm-0.9.11 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name SHA +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SHA message digest functions 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 @@ -50,7 +51,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -81,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 24 2017 Jens Petersen - 1.6.4.2-3 +- refresh to cabal-rpm-0.11.1 + * Fri Feb 10 2017 Fedora Release Engineering - 1.6.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 3cd286d95e369f928662b441dac2f60d3a7f7696 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:33:01 +0000 Subject: [PATCH 18/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 807d601..f2cfa30 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: SHA message digest functions License: BSD @@ -82,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.6.4.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 24 2017 Jens Petersen - 1.6.4.2-3 - refresh to cabal-rpm-0.11.1 From e55fd93c98cec56a613882d1da96c4f898a050f5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:11:13 +0000 Subject: [PATCH 19/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index f2cfa30..41d9052 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: SHA message digest functions License: BSD @@ -82,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 1.6.4.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.6.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c0698d7e1fe8635eff5307edb202485b2879556a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:27 +0100 Subject: [PATCH 20/42] refresh to cabal-rpm-0.12.1 --- ghc-SHA.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 41d9052..0b8375f 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name SHA @@ -41,9 +41,12 @@ presently reach the speed of well-tuned libraries, like OpenSSL. %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 @@ -66,6 +69,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 fe11d995a2d0d0cbbaf4464d7d5df5366e90904b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:15:22 +0100 Subject: [PATCH 21/42] bump release --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 0b8375f..e8cc756 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: SHA message digest functions License: BSD @@ -91,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 1.6.4.2-6 +- rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 1.6.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 537d51e46426a565a7a470fe5c355649b7b316c1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:01:49 +0900 Subject: [PATCH 22/42] drop ldconfig scriptlets --- ghc-SHA.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index e8cc756..8d007e1 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -69,12 +69,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 d407668bc733821b43dda3e8021411a29eb858f9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:14:55 +0000 Subject: [PATCH 23/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 8d007e1..9ae0b9a 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: SHA message digest functions License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.6.4.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 1.6.4.2-6 - rebuild From 5bffcef915f67d7d49e57e8fc34a6d57c0a8d769 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:31:00 +0000 Subject: [PATCH 24/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 9ae0b9a..cdf7620 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: SHA message digest functions License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.6.4.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.6.4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 2c1cd6be7187fc78df15dc83cde487e5fa5c375c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 22:45:47 +0900 Subject: [PATCH 25/42] update to 1.6.4.4 --- .gitignore | 1 + ghc-SHA.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a843ecf..deaa2f6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /SHA-1.6.1.tar.gz /SHA-1.6.4.1.tar.gz /SHA-1.6.4.2.tar.gz +/SHA-1.6.4.4.tar.gz diff --git a/ghc-SHA.spec b/ghc-SHA.spec index cdf7620..3206806 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.6.4.2 -Release: 8%{?dist} +Version: 1.6.4.4 +Release: 1%{?dist} Summary: SHA message digest functions License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Jul 22 2018 Jens Petersen - 1.6.4.4-1 +- update to 1.6.4.4 + * Fri Jul 13 2018 Fedora Release Engineering - 1.6.4.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 7cb53d4..ea93392 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2ee68e4b1a5e1772fe72d601dd6a2f0 SHA-1.6.4.2.tar.gz +SHA512 (SHA-1.6.4.4.tar.gz) = 77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125 From 48097f7b52fb48ed4e85316205f5a1dce80eb3c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:06:56 +0000 Subject: [PATCH 26/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 3206806..6bc27af 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SHA message digest functions License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 1.6.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 1.6.4.4-1 - update to 1.6.4.4 From b4348ab5395202f972e3045de4268b9fbd0be907 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:17 +0800 Subject: [PATCH 27/42] refresh to cabal-rpm-0.13 --- ghc-SHA.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 6bc27af..981a3e0 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA @@ -8,20 +8,21 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SHA message digest functions 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-array-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-directory-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-test-framework-devel @@ -54,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 @@ -78,13 +85,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 - 1.6.4.4-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 1.6.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 1c61f6982b224fd41306b317694f29b3348bbcef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:02:40 +0000 Subject: [PATCH 28/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 981a3e0..1f8add0 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: SHA message digest functions License: BSD @@ -94,6 +94,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.6.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 1.6.4.4-3 - refresh to cabal-rpm-0.13 From 322f1dd3512d1b421afedd76a80358a7958832d6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:14 +0000 Subject: [PATCH 29/42] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-SHA.spec | 53 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 1f8add0..c723ca2 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: SHA message digest functions 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-array-devel BuildRequires: ghc-binary-devel @@ -42,11 +48,8 @@ presently reach the speed of well-tuned libraries, like OpenSSL. %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 @@ -93,7 +107,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 - 1.6.4.4-5 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 1.6.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 23173d5db45563d8e79f167b7027d8d144383ca3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:12 +0800 Subject: [PATCH 30/42] BR prof for lib and static for executable --- ghc-SHA.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index c723ca2..b0649d7 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA @@ -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-array-devel -BuildRequires: ghc-binary-devel -BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-test-framework-devel @@ -48,6 +43,7 @@ presently reach the speed of well-tuned libraries, like OpenSSL. %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 ca28636a694eca894a0098800d0992640cb39d04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:12:07 +0000 Subject: [PATCH 31/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index b0649d7..a293d36 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: SHA message digest functions License: BSD @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1.6.4.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 1.6.4.4-5 - add doc and prof subpackages (cabal-rpm-1.0.0) From a727acf41755aa21baf3a74fc3ad9fe58a978f0e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:48:45 +0800 Subject: [PATCH 32/42] refresh to cabal-rpm-2.0.2 --- ghc-SHA.spec | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index a293d36..f80c279 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -1,11 +1,9 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name SHA %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 1.6.4.4 Release: 6%{?dist} @@ -24,11 +22,6 @@ BuildRequires: ghc-array-prof BuildRequires: ghc-base-prof BuildRequires: ghc-binary-prof BuildRequires: ghc-bytestring-prof -%if %{with tests} -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-quickcheck2-devel -%endif # End cabal-rpm deps %description @@ -56,6 +49,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 +60,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -90,8 +85,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 @@ -105,6 +106,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 0271485cc3c1c42efd802ded1b16528a477242fb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:01 +0800 Subject: [PATCH 33/42] refresh to cabal-rpm-2.0.5 --- ghc-SHA.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index f80c279..167d587 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA %global pkgver %{pkg_name}-%{version} From f111780af6e128eb57e12be6a41e65a1b3473714 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:38 +0800 Subject: [PATCH 34/42] refresh to cabal-rpm-2.0.6 --- ghc-SHA.spec | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 167d587..1f8fa10 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: test-framework test-framework-quickcheck2 + Name: ghc-%{pkg_name} Version: 1.6.4.4 Release: 6%{?dist} @@ -85,16 +87,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 62bbd369d1b0e5e9ba0032037ad628e45cfa96ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:48:50 +0800 Subject: [PATCH 35/42] bump release --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 1f8fa10..017b5cf 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: SHA message digest functions License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Jul 17 2020 Jens Petersen - 1.6.4.4-7 +- refresh to cabal-rpm-2.0.6 + * Tue Jan 28 2020 Fedora Release Engineering - 1.6.4.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From e3ce379fdd4313b6896ca73f3726c025a28b22ae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:44:27 +0000 Subject: [PATCH 36/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 017b5cf..440a99d 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: SHA message digest functions License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.6.4.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 1.6.4.4-7 - refresh to cabal-rpm-2.0.6 From ccdbb7180b6c1fa1ce819ba4995bec41a1f801e2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:48:29 +0000 Subject: [PATCH 37/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 440a99d..e64862e 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: SHA message digest functions License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.6.4.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 1.6.4.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 060f69204663120627ae0d006d149e056592e102 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:15:01 +0000 Subject: [PATCH 38/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index e64862e..6574ae0 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: SHA message digest functions License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.6.4.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.6.4.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 952b620d04ae8cedb1b0eb2d9aad8cdb2161b2e4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH 39/42] refresh to cabal-rpm-2.0.9 --- ghc-SHA.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 6574ae0..439753d 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.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 SHA @@ -52,6 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. From a010e26fee496b0fe939fc0f6efa7d0c24c8d775 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 10:18:14 +0800 Subject: [PATCH 40/42] bump release --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 439753d..248aea7 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: SHA message digest functions License: BSD @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Aug 06 2021 Jens Petersen - 1.6.4.4-11 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 1.6.4.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From da6c7be6308e8dbaacebbf1dcbec936cf1611f4c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:27:18 +0000 Subject: [PATCH 41/42] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-SHA.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-SHA.spec b/ghc-SHA.spec index 248aea7..ab0191f 100644 --- a/ghc-SHA.spec +++ b/ghc-SHA.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.6.4.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: SHA message digest functions License: BSD @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.6.4.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 1.6.4.4-11 - rebuild From b8698d32e50f48c97803c84a58ec5e478f3ca4d5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:16:41 +0300 Subject: [PATCH 42/42] 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 ea93392..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (SHA-1.6.4.4.tar.gz) = 77a525cb9ef45a410595a2f9c11a848a3aaeb6c7cb9b0ff11395326a259c0bea0e75689e3c7fa410e25be7d4480887830e11c891801f03c439b6ae9f55e5c125