update to 2.3.0 and add hslua-typing

This commit is contained in:
Jens Petersen 2023-07-24 13:50:18 +08:00
parent b581d89c3f
commit bfe4c8b9a3
3 changed files with 24 additions and 11 deletions

4
.gitignore vendored
View File

@ -12,3 +12,7 @@
/hslua-2.2.1.tar.gz
/hslua-aeson-2.2.1.tar.gz
/hslua-classes-2.2.0.tar.gz
/hslua-2.3.0.tar.gz
/hslua-aeson-2.3.0.1.tar.gz
/hslua-classes-2.3.0.tar.gz
/hslua-typing-0.1.0.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.1.0 --subpackage
# generated by cabal-rpm-2.1.2 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%bcond_with system_lua
@ -6,16 +6,17 @@
%global pkg_name hslua
%global pkgver %{pkg_name}-%{version}
%global hsluaaeson hslua-aeson-2.2.1
%global hsluaclasses hslua-classes-2.2.0
%global subpkgs %{hsluaaeson} %{hsluaclasses}
%global hsluaaeson hslua-aeson-2.3.0.1
%global hsluaclasses hslua-classes-2.3.0
%global hsluatyping hslua-typing-0.1.0
%global subpkgs %{hsluaaeson} %{hsluaclasses} %{hsluatyping}
# testsuite missing deps: hslua-aeson hslua-classes lua-arbitrary quickcheck-instances tasty-hslua
# testsuite missing deps: lua-arbitrary quickcheck-instances tasty-hslua
Name: ghc-%{pkg_name}
Version: 2.2.1
Version: 2.3.0
# can only be reset when all subpkgs bumped
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Bindings to Lua, an embeddable scripting language
License: MIT
@ -24,6 +25,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{hsluaaeson}/%{hsluaaeson}.tar.gz
Source2: https://hackage.haskell.org/package/%{hsluaclasses}/%{hsluaclasses}.tar.gz
Source3: https://hackage.haskell.org/package/%{hsluatyping}/%{hsluatyping}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -39,6 +41,7 @@ BuildRequires: ghc-hslua-core-devel
BuildRequires: ghc-hslua-marshalling-devel
BuildRequires: ghc-hslua-objectorientation-devel
BuildRequires: ghc-hslua-packaging-devel
#BuildRequires: ghc-hslua-typing-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-text-devel
%if %{with ghc_prof}
@ -52,6 +55,7 @@ BuildRequires: ghc-hslua-core-prof
BuildRequires: ghc-hslua-marshalling-prof
BuildRequires: ghc-hslua-objectorientation-prof
BuildRequires: ghc-hslua-packaging-prof
#BuildRequires: ghc-hslua-typing-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-text-prof
%endif
@ -126,6 +130,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%if %{defined ghclibdir}
%ghc_lib_subpackage -l MIT %{hsluaaeson}
%ghc_lib_subpackage -l MIT %{hsluaclasses}
%ghc_lib_subpackage -l MIT %{hsluatyping}
%endif
%global version %{main_version}
@ -133,7 +138,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1 -a2
%setup -q -n %{pkgver} -a1 -a2 -a3
# End cabal-rpm setup
%if %{with system_lua}
cabal-tweak-flag system-lua True
@ -177,6 +182,9 @@ rm -r cbits/lua-5.*
%changelog
* Sun Jul 23 2023 Jens Petersen <petersen@redhat.com> - 2.3.0-3
- https://hackage.haskell.org/package/hslua-2.3.0/changelog
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1,3 +1,4 @@
SHA512 (hslua-2.2.1.tar.gz) = 95f733abea94872a14539d311c218e78ca7176e2b110a3b9f3aad9e575c14d8afc504c3308a890f587138f014947b7324fd681036589c67888850a7feeeee2fb
SHA512 (hslua-aeson-2.2.1.tar.gz) = 0b33c587b16381e972ff6eb91b2fefdae2ea27441642ed339b1a9d238a3c64b8a3551edfc09d6507db11d63c7de79b27490f5eb68854c38dd0c0a323e19b40ee
SHA512 (hslua-classes-2.2.0.tar.gz) = 21d9da7fca86123cf1f6ac339b2453393bd97c052eb9b5ab75bf06a56fc0ff81593e30c88082aab5eb767816c479e975622b01f78e3df13ed476710d424f48c7
SHA512 (hslua-2.3.0.tar.gz) = a3e4bd970d0a55465aafff91f6b03d29443599d819a48dc9f3296bcac5807c9cb2920cb5c6c5e3bda854403a5bea219b9a626305d932f8c452ff9cc09572d060
SHA512 (hslua-aeson-2.3.0.1.tar.gz) = 0934ba51a554f8f889340d6f28739028c07ac26e935bd68cea85d6221b0092531f41a0c28bb99d47c0725b4947dcf4742c25f42fe3cc4ef7553158f92a7e06a5
SHA512 (hslua-classes-2.3.0.tar.gz) = 07daa9b31bf4d3c8ec24bff67219cdcaf58ec56d45ac4c1b000aceccbbd90a79748f6786497c3a79e7c2670442859e1f31b200455cf2b26eb0dc4d699f9345ba
SHA512 (hslua-typing-0.1.0.tar.gz) = caca4003fab2fab4920e43491dc56cd137198f4a312d654f9489ea841b5e18b1b528a46e493692d027500a2fc5201d6f39b49b8bf0af8c199dbe357b95ccfb1f