refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 14:09:29 +08:00
parent 4dcbb24055
commit d6faacef76

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 X11-xft
@ -9,8 +9,7 @@ Version: 0.3.4
Release: 2%{?dist}
Summary: Haskell libXft binding
# no version specified
License: LGPLv2+
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
@ -19,9 +18,14 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-X11-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-utf8-string-devel
%if %{with ghc_prof}
BuildRequires: ghc-X11-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-utf8-string-prof
%endif
BuildRequires: pkgconfig(xft)
# End cabal-rpm deps
@ -95,6 +99,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%files devel -f %{name}-devel.files
%doc CHANGES.md README.md
%if %{with haddock}