update to 0.4.10.0

This commit is contained in:
Jens Petersen 2023-01-23 01:46:22 +08:00
parent f5938d3569
commit 1b7a460686
4 changed files with 21 additions and 65 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/th-expand-syns-0.4.5.0.tar.gz
/th-expand-syns-0.4.6.0.tar.gz
/th-expand-syns-0.4.8.0.tar.gz
/th-expand-syns-0.4.10.0.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name th-expand-syns
@ -7,31 +7,40 @@
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.8.0
Release: 4%{?dist}
Version: 0.4.10.0
Release: 1%{?dist}
Summary: Expands type synonyms in Template Haskell ASTs
License: BSD
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: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-th-abstraction-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-syb-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-th-abstraction-prof
%endif
# End cabal-rpm deps
%description
Expands type synonyms in Template Haskell ASTs.
As of version '0.4.9.0', this library is a small shim on top of the
'applySubstitution'/'resolveTypeSynonyms' functions from 'th-abstraction', so
you may want to consider using 'th-abstraction' instead.
%package devel
Summary: Haskell %{pkg_name} library development files
@ -71,7 +80,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -115,6 +123,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.4.10.0-1
- https://hackage.haskell.org/package/th-expand-syns-0.4.10.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (th-expand-syns-0.4.8.0.tar.gz) = bc144f2ec0c72ed5aca4b1e78711a0a70b837689b1813d0db999f44e1fa7338c6c64283b92ffb795835df1740340a12204dec74c9666d7d7919fa8bbeb9afbe6
SHA512 (th-expand-syns-0.4.10.0.tar.gz) = d30f3083d3225d7920e82958541606e5ff0c6d8b89a748bc07ef2933f1cb8f67ae35427a8a8f1773704e2f84585f502d87be25d7bce6993a0f4d5926626b0ff1

View File

@ -1,57 +0,0 @@
name: th-expand-syns
version: 0.4.8.0
x-revision: 1
synopsis: Expands type synonyms in Template Haskell ASTs
description: Expands type synonyms in Template Haskell ASTs.
category: Template Haskell
license: BSD3
license-file: LICENSE
author: Daniel Schüssler
maintainer: Ryan Scott <ryan.gl.scott@gmail.com>
cabal-version: >= 1.10
build-type: Simple
extra-source-files: changelog.markdown
homepage: https://github.com/DanielSchuessler/th-expand-syns
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.4
GHC == 8.10.4
GHC == 9.0.1
source-repository head
type: git
location: https://github.com/DanielSchuessler/th-expand-syns.git
Library
build-depends: base >= 4.3 && < 5
, containers
, syb
, th-abstraction >= 0.4 && < 0.5
, template-haskell >= 2.5 && < 2.19
ghc-options: -Wall
exposed-modules: Language.Haskell.TH.ExpandSyns
other-modules: Language.Haskell.TH.ExpandSyns.SemigroupCompat
default-language: Haskell2010
Test-Suite test-th-expand-syns
type: exitcode-stdio-1.0
hs-source-dirs: testing
main-is: Main.hs
other-modules: Util, Types
build-depends: base
, template-haskell
, th-abstraction
, th-expand-syns
ghc-options: -Wall
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
default-language: Haskell2010