update to 0.12.2

This commit is contained in:
Jens Petersen 2023-01-22 22:18:29 +08:00
parent dc61ada7d4
commit ce0e6410f1
4 changed files with 13 additions and 209 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/base-compat-0.10.5.tar.gz /base-compat-0.10.5.tar.gz
/base-compat-0.11.1.tar.gz /base-compat-0.11.1.tar.gz
/base-compat-0.11.2.tar.gz /base-compat-0.11.2.tar.gz
/base-compat-0.12.2.tar.gz

View File

@ -1,202 +0,0 @@
name: base-compat
version: 0.11.2
x-revision: 1
license: MIT
license-file: LICENSE
copyright: (c) 2012-2018 Simon Hengel,
(c) 2014-2018 João Cristóvão,
(c) 2015-2018 Ryan Scott
author: Simon Hengel <sol@typeful.net>,
João Cristóvão <jmacristovao@gmail.com>,
Ryan Scott <ryan.gl.scott@gmail.com>
maintainer: Simon Hengel <sol@typeful.net>,
João Cristóvão <jmacristovao@gmail.com>,
Ryan Scott <ryan.gl.scott@gmail.com>
build-type: Simple
cabal-version: >= 1.10
category: Compatibility
synopsis: A compatibility layer for base
description: Provides functions available in later versions of @base@ to
a wider range of compilers, without requiring you to use CPP
pragmas in your code. See the
<https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown README>
for what is covered. Also see the
<https://github.com/haskell-compat/base-compat/blob/master/base-compat/CHANGES.markdown changelog>
for recent changes.
.
Note that @base-compat@ does not add any orphan instances.
There is a separate package,
@<http://hackage.haskell.org/package/base-orphans base-orphans>@,
for that.
.
In addition, @base-compat@ does not backport any data types
or type classes. See
@<https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown#data-types-and-type-classes this section of the README>@
for more info.
.
@base-compat@ is designed to have zero dependencies. For a
version of @base-compat@ that depends on compatibility
libraries for a wider support window, see the
@<http://hackage.haskell.org/package/base-compat-batteries base-compat-batteries>@
package. Most of the modules in this library have the same
names as in @base-compat-batteries@ to make it easier to
switch between the two. There also exist versions of each
module with the suffix @.Repl@, which are distinct from
anything in @base-compat-batteries@, to allow for easier
use in GHCi.
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.1
extra-source-files: CHANGES.markdown, README.markdown
source-repository head
type: git
location: https://github.com/haskell-compat/base-compat
subdir: base-compat
library
ghc-options:
-Wall
default-language:
Haskell2010
build-depends:
base >= 4.3 && < 4.16
if !os(windows) && !os(halvm)
build-depends: unix
ghc-options:
-fno-warn-duplicate-exports
if impl(ghc >= 7.10)
ghc-options: -fno-warn-trustworthy-safe
hs-source-dirs:
src
exposed-modules:
Control.Concurrent.Compat
Control.Concurrent.MVar.Compat
Control.Exception.Compat
Control.Monad.Compat
Control.Monad.Fail.Compat
Control.Monad.IO.Class.Compat
Control.Monad.ST.Lazy.Unsafe.Compat
Control.Monad.ST.Unsafe.Compat
Data.Bifoldable.Compat
Data.Bifunctor.Compat
Data.Bitraversable.Compat
Data.Bits.Compat
Data.Bool.Compat
Data.Complex.Compat
Data.Either.Compat
Data.Foldable.Compat
Data.Function.Compat
Data.Functor.Compat
Data.Functor.Compose.Compat
Data.Functor.Const.Compat
Data.Functor.Contravariant.Compat
Data.Functor.Identity.Compat
Data.Functor.Product.Compat
Data.Functor.Sum.Compat
Data.IORef.Compat
Data.List.Compat
Data.List.NonEmpty.Compat
Data.Monoid.Compat
Data.Proxy.Compat
Data.Ratio.Compat
Data.Semigroup.Compat
Data.STRef.Compat
Data.String.Compat
Data.Type.Coercion.Compat
Data.Type.Equality.Compat
Data.Version.Compat
Data.Void.Compat
Data.Word.Compat
Debug.Trace.Compat
Foreign.Compat
Foreign.ForeignPtr.Compat
Foreign.ForeignPtr.Safe.Compat
Foreign.ForeignPtr.Unsafe.Compat
Foreign.Marshal.Alloc.Compat
Foreign.Marshal.Array.Compat
Foreign.Marshal.Compat
Foreign.Marshal.Safe.Compat
Foreign.Marshal.Unsafe.Compat
Foreign.Marshal.Utils.Compat
Numeric.Compat
Numeric.Natural.Compat
Prelude.Compat
System.Environment.Compat
System.Exit.Compat
System.IO.Compat
System.IO.Error.Compat
System.IO.Unsafe.Compat
Text.Read.Compat
Type.Reflection.Compat
Control.Concurrent.Compat.Repl
Control.Concurrent.MVar.Compat.Repl
Control.Exception.Compat.Repl
Control.Monad.Compat.Repl
Control.Monad.Fail.Compat.Repl
Control.Monad.IO.Class.Compat.Repl
Control.Monad.ST.Lazy.Unsafe.Compat.Repl
Control.Monad.ST.Unsafe.Compat.Repl
Data.Bifoldable.Compat.Repl
Data.Bifunctor.Compat.Repl
Data.Bitraversable.Compat.Repl
Data.Bits.Compat.Repl
Data.Bool.Compat.Repl
Data.Complex.Compat.Repl
Data.Either.Compat.Repl
Data.Foldable.Compat.Repl
Data.Function.Compat.Repl
Data.Functor.Compat.Repl
Data.Functor.Compose.Compat.Repl
Data.Functor.Const.Compat.Repl
Data.Functor.Contravariant.Compat.Repl
Data.Functor.Identity.Compat.Repl
Data.Functor.Product.Compat.Repl
Data.Functor.Sum.Compat.Repl
Data.IORef.Compat.Repl
Data.List.Compat.Repl
Data.List.NonEmpty.Compat.Repl
Data.Monoid.Compat.Repl
Data.Proxy.Compat.Repl
Data.Ratio.Compat.Repl
Data.Semigroup.Compat.Repl
Data.STRef.Compat.Repl
Data.String.Compat.Repl
Data.Type.Coercion.Compat.Repl
Data.Type.Equality.Compat.Repl
Data.Version.Compat.Repl
Data.Void.Compat.Repl
Data.Word.Compat.Repl
Debug.Trace.Compat.Repl
Foreign.Compat.Repl
Foreign.ForeignPtr.Compat.Repl
Foreign.ForeignPtr.Safe.Compat.Repl
Foreign.ForeignPtr.Unsafe.Compat.Repl
Foreign.Marshal.Alloc.Compat.Repl
Foreign.Marshal.Array.Compat.Repl
Foreign.Marshal.Compat.Repl
Foreign.Marshal.Safe.Compat.Repl
Foreign.Marshal.Unsafe.Compat.Repl
Foreign.Marshal.Utils.Compat.Repl
Numeric.Compat.Repl
Numeric.Natural.Compat.Repl
Prelude.Compat.Repl
System.Environment.Compat.Repl
System.Exit.Compat.Repl
System.IO.Compat.Repl
System.IO.Error.Compat.Repl
System.IO.Unsafe.Compat.Repl
Text.Read.Compat.Repl
Type.Reflection.Compat.Repl

View File

@ -1,27 +1,29 @@
# generated by cabal-rpm-2.0.9 # generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name base-compat %global pkg_name base-compat
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.11.2 Version: 0.12.2
Release: 4%{?dist} Release: 1%{?dist}
Summary: A compatibility layer for base Summary: A compatibility layer for base
License: MIT License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz 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 # End cabal-rpm sources
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-unix-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-unix-prof BuildRequires: ghc-unix-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -71,7 +73,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
# Begin cabal-rpm setup: # Begin cabal-rpm setup:
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup # End cabal-rpm setup
@ -109,6 +110,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog %changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.12.2-1
- https://hackage.haskell.org/package/base-compat-0.12.2/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.2-4 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (base-compat-0.11.2.tar.gz) = ff2223da24b8be8048e3360d6817b32f5648a9033e4ca8cc9d43a2abec057072c3c7c946d65bcf245fd5513dd501c7cab7de0c333f708f167b3c0fb51e137b23 SHA512 (base-compat-0.12.2.tar.gz) = 8fc3f6835c2d9951a7e9ba8837952fb39dbaf9a8c77d11c941efd352e018ebe8813a53b011ee28140137ca63c72eedfd52bbd13fbc6660fd7c01dface035b436