From 162ba86899a856e56816a337a961b6fed6938c4c Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 21 Mar 2024 18:43:55 +0000 Subject: [PATCH] ghc-hashable package is retired on branch c10s for BAKERY-412 --- .gitignore | 13 -- dead.package | 1 + ghc-hashable.spec | 261 ----------------------------------------- hashable-1.4.2.0.cabal | 185 ----------------------------- sources | 2 - 5 files changed, 1 insertion(+), 461 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 ghc-hashable.spec delete mode 100644 hashable-1.4.2.0.cabal delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 86c8e0b..0000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -/hashable-1.1.2.1.tar.gz -/hashable-1.1.2.2.tar.gz -/hashable-1.1.2.3.tar.gz -/hashable-1.1.2.5.tar.gz -/hashable-1.2.2.0.tar.gz -/hashable-1.2.3.3.tar.gz -/hashable-1.2.4.0.tar.gz -/hashable-1.2.5.0.tar.gz -/hashable-1.2.6.1.tar.gz -/hashable-1.2.7.0.tar.gz -/hashable-1.3.0.0.tar.gz -/hashable-1.4.2.0.tar.gz -/data-array-byte-0.1.0.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..74be9a6 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +ghc-hashable package is retired on branch c10s for BAKERY-412 \ No newline at end of file diff --git a/ghc-hashable.spec b/ghc-hashable.spec deleted file mode 100644 index caa7b80..0000000 --- a/ghc-hashable.spec +++ /dev/null @@ -1,261 +0,0 @@ -# generated by cabal-rpm-2.1.2 -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ - -%global pkg_name hashable -%global pkgver %{pkg_name}-%{version} - -# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 - -Name: ghc-%{pkg_name} -Version: 1.4.2.0 -Release: 3%{?dist} -Summary: A class for types that can be converted to a hash value - -License: BSD-3-Clause -Url: https://hackage.haskell.org/package/%{pkg_name} -# Begin cabal-rpm sources: -Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal -# End cabal-rpm sources - -# Begin cabal-rpm deps: -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -BuildRequires: ghc-base-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-ghc-bignum-devel -BuildRequires: ghc-text-devel -%if %{with ghc_prof} -BuildRequires: ghc-base-prof -BuildRequires: ghc-bytestring-prof -BuildRequires: ghc-containers-prof -BuildRequires: ghc-deepseq-prof -BuildRequires: ghc-filepath-prof -BuildRequires: ghc-ghc-bignum-prof -BuildRequires: ghc-text-prof -%endif -# End cabal-rpm deps - -%description -This package defines a class, 'Hashable', for types that can be converted to a -hash value. This class exists for the benefit of hashing-based data structures. -The package provides instances for basic types and a way to combine hash -values. - - -%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 -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package provides the Haskell %{pkg_name} library development files. - - -%if %{with haddock} -%package doc -Summary: Haskell %{pkg_name} library documentation -BuildArch: noarch -Requires: ghc-filesystem - -%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} -Supplements: (%{name}-devel and ghc-prof) - -%description prof -This package provides the Haskell %{pkg_name} profiling library. -%endif - - -%prep -# Begin cabal-rpm setup: -%setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal -# 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 - - -%files -f %{name}.files -# Begin cabal-rpm files: -%license LICENSE -# End cabal-rpm files - - -%files devel -f %{name}-devel.files -%doc CHANGES.md README.md examples - - -%if %{with haddock} -%files doc -f %{name}-doc.files -%license LICENSE -%endif - - -%if %{with ghc_prof} -%files prof -f %{name}-prof.files -%endif - - -%changelog -* Tue Jul 25 2023 Jens Petersen - 1.4.2.0-3 -- drop data-array-byte - -* Wed Jul 19 2023 Fedora Release Engineering - 1.4.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sun Jan 22 2023 Jens Petersen - 1.4.2.0-1 -- https://hackage.haskell.org/package/hashable-1.4.2.0/changelog -- refresh to cabal-rpm-2.1.0 with SPDX migration -- new dep: data-array-byte - -* Thu Jul 21 2022 Fedora Release Engineering - 1.3.0.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jun 17 2022 Jens Petersen - 1.3.0.0-8 -- rebuild - -* Tue Mar 08 2022 Jens Petersen - 1.3.0.0-7 -- rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 1.3.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Aug 06 2021 Jens Petersen - 1.3.0.0-5 -- rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 1.3.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 1.3.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 1.3.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sun Jun 07 2020 Jens Petersen - 1.3.0.0-1 -- update to 1.3.0.0 - -* Tue Jan 28 2020 Fedora Release Engineering - 1.2.7.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Aug 02 2019 Jens Petersen - 1.2.7.0-5 -- add doc and prof subpackages (cabal-rpm-1.0.0) - -* Thu Jul 25 2019 Fedora Release Engineering - 1.2.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 17 2019 Jens Petersen - 1.2.7.0-3 -- refresh to cabal-rpm-0.13 - -* Thu Jan 31 2019 Fedora Release Engineering - 1.2.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Jul 22 2018 Jens Petersen - 1.2.7.0-1 -- update to 1.2.7.0 - -* Fri Jul 13 2018 Fedora Release Engineering - 1.2.6.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.2.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jan 24 2018 Jens Petersen - 1.2.6.1-1 -- update to 1.2.6.1 - -* Wed Aug 02 2017 Fedora Release Engineering - 1.2.5.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.2.5.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Tue Feb 21 2017 Jens Petersen - 1.2.5.0-1 -- update to 1.2.5.0 - -* Fri Feb 10 2017 Fedora Release Engineering - 1.2.4.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jun 23 2016 Jens Petersen - 1.2.4.0-1 -- update to 1.2.4.0 - -* Tue Jun 7 2016 Jens Petersen - 1.2.3.3-1 -- update to 1.2.3.3 - -* Wed Feb 03 2016 Fedora Release Engineering - 1.2.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.2.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Aug 8 2014 Jens Petersen - 1.2.2.0-1 -- update to 1.2.2.0 - -* Thu Jun 19 2014 Jens Petersen - 1.1.2.5-5 -- update packaging with cblrpm-0.8.11 - -* Sat Aug 03 2013 Fedora Release Engineering - 1.1.2.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat May 4 2013 Jens Petersen - 1.1.2.5-3 -- part of haskell-platform-2013.2 -- update to cabal-rpm-0.8.0 - -* Wed Feb 13 2013 Fedora Release Engineering - 1.1.2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Nov 07 2012 Jens Petersen - 1.1.2.5-1 -- update to 1.1.2.5 - -* Thu Jul 19 2012 Fedora Release Engineering - 1.1.2.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jul 16 2012 Jens Petersen - 1.1.2.3-4 -- change prof BRs to devel - -* Fri Jun 15 2012 Jens Petersen - 1.1.2.3-3 -- rebuild - -* Thu Mar 22 2012 Jens Petersen - 1.1.2.3-2 -- add license to ghc_files - -* Wed Mar 7 2012 Jens Petersen - 1.1.2.3-1 -- update to 1.1.2.3 - -* Thu Jan 5 2012 Jens Petersen - 1.1.2.2-1 -- update to 1.1.2.2 and cabal2spec-0.25.2 - -* Fri Oct 21 2011 Marcela Mašláňová - 1.1.2.1-3 -- rebuild with new gmp - -* Sat Oct 8 2011 Jens Petersen - 1.1.2.1-2 -- condition BR hscolour - -* Mon Aug 22 2011 Jens Petersen - 1.1.2.1-1 -- BSD - -* Mon Aug 22 2011 Fedora Haskell SIG - 1.1.2.1-0 -- initial packaging for Fedora automatically generated by cabal2spec-0.23.2 diff --git a/hashable-1.4.2.0.cabal b/hashable-1.4.2.0.cabal deleted file mode 100644 index f6d20b0..0000000 --- a/hashable-1.4.2.0.cabal +++ /dev/null @@ -1,185 +0,0 @@ -cabal-version: 1.12 -name: hashable -version: 1.4.2.0 -x-revision: 1 -synopsis: A class for types that can be converted to a hash value -description: - This package defines a class, 'Hashable', for types that - can be converted to a hash value. This class - exists for the benefit of hashing-based data - structures. The package provides instances for - basic types and a way to combine hash values. - -homepage: http://github.com/haskell-unordered-containers/hashable - --- SPDX-License-Identifier : BSD-3-Clause -license: BSD3 -license-file: LICENSE -author: - Milan Straka - Johan Tibell - -maintainer: Oleg Grenrus -bug-reports: - https://github.com/haskell-unordered-containers/hashable/issues - -stability: Provisional -category: Data -build-type: Simple -tested-with: - GHC ==8.2.2 - || ==8.4.4 - || ==8.6.5 - || ==8.8.3 - || ==8.10.4 - || ==8.10.7 - || ==9.0.1 - || ==9.0.2 - || ==9.2.5 - || ==9.4.4 - || ==9.6.1 - -extra-source-files: - CHANGES.md - include/HsHashable.h - README.md - -flag integer-gmp - description: - Are we using @integer-gmp@ to provide fast Integer instances? No effect on GHC-9.0 or later. - - manual: False - default: True - -flag random-initial-seed - description: - Randomly initialize the initial seed on each final executable invocation - This is useful for catching cases when you rely on (non-existent) - stability of hashable's hash functions. - This is not a security feature. - - manual: True - default: False - -library - exposed-modules: - Data.Hashable - Data.Hashable.Generic - Data.Hashable.Lifted - - other-modules: - Data.Hashable.Class - Data.Hashable.Generic.Instances - Data.Hashable.Imports - Data.Hashable.LowLevel - - c-sources: cbits/fnv.c - include-dirs: include - hs-source-dirs: src - build-depends: - base >=4.10.1.0 && <4.19 - , bytestring >=0.10.8.2 && <0.12 - , containers >=0.5.10.2 && <0.7 - , deepseq >=1.4.3.0 && <1.5 - , filepath >=1.4.1.2 && <1.5 - , ghc-prim - , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 - - if !impl(ghc >=9.2) - build-depends: base-orphans >=0.8.6 && <0.10 - - if !impl(ghc >=9.4) - build-depends: data-array-byte >=0.1.0.1 && <0.2 - - -- Integer internals - if impl(ghc >=9) - build-depends: ghc-bignum >=1.0 && <1.4 - - if !impl(ghc >=9.0.2) - build-depends: ghc-bignum-orphans >=0.1 && <0.2 - - else - if flag(integer-gmp) - build-depends: integer-gmp >=0.4 && <1.1 - - else - -- this is needed for the automatic flag to be well-balanced - build-depends: integer-simple - - if (flag(random-initial-seed) && impl(ghc)) - cpp-options: -DHASHABLE_RANDOM_SEED=1 - - if os(windows) - c-sources: cbits-win/init.c - - else - c-sources: cbits-unix/init.c - - default-language: Haskell2010 - other-extensions: - BangPatterns - CPP - DeriveDataTypeable - FlexibleContexts - FlexibleInstances - GADTs - KindSignatures - MagicHash - MultiParamTypeClasses - ScopedTypeVariables - Trustworthy - TypeOperators - UnliftedFFITypes - - ghc-options: -Wall -fwarn-tabs - - if impl(ghc >=9.0) - -- these flags may abort compilation with GHC-8.10 - -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 - ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode - -test-suite hashable-tests - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Main.hs - other-modules: - Properties - Regress - - build-depends: - base - , bytestring - , ghc-prim - , hashable - , HUnit - , QuickCheck >=2.4.0.1 - , random >=1.0 && <1.3 - , test-framework >=0.3.3 - , test-framework-hunit - , test-framework-quickcheck2 >=0.2.9 - , text >=0.11.0.5 - - if !os(windows) - build-depends: unix - cpp-options: -DHAVE_MMAP - other-modules: Regress.Mmap - other-extensions: CApiFFI - - ghc-options: -Wall -fno-warn-orphans - default-language: Haskell2010 - -test-suite hashable-examples - type: exitcode-stdio-1.0 - build-depends: - base - , ghc-prim - , hashable - - hs-source-dirs: examples - main-is: Main.hs - default-language: Haskell2010 - -source-repository head - type: git - location: - https://github.com/haskell-unordered-containers/hashable.git diff --git a/sources b/sources deleted file mode 100644 index dca1be0..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (hashable-1.4.2.0.tar.gz) = 6e44177b6c00d4b385696348a8f66e6158beeb224aa85726141bc4d58c5e3094dab35dd68ae4ef61845ccb3ffd8836547d988d61e9b39176782b567189381140 -SHA512 (data-array-byte-0.1.0.1.tar.gz) = f06e369803fadca57c0782b45c97f914e0e28c512bb3f36be35a06686ac1c3ab45da150143a1be3b0b5633c3d4105570acc4c0482e9692a4ef35568922a303e7