refresh to cabal-rpm-2.1.0 including SPDX migration
This commit is contained in:
parent
b7f9b08a6f
commit
8a463ec934
|
@ -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 gtk2hs-buildtools
|
||||
|
@ -6,10 +6,10 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.13.8.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Tools to build the Gtk2Hs suite of User Interface libraries
|
||||
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
|
@ -17,6 +17,17 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-hashtables-devel
|
||||
BuildRequires: ghc-pretty-devel
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-Cabal-prof
|
||||
BuildRequires: ghc-array-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
|
@ -27,6 +38,7 @@ BuildRequires: ghc-hashtables-prof
|
|||
BuildRequires: ghc-pretty-prof
|
||||
BuildRequires: ghc-process-prof
|
||||
BuildRequires: ghc-random-prof
|
||||
%endif
|
||||
BuildRequires: alex
|
||||
BuildRequires: happy
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
@ -64,11 +76,7 @@ Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
|||
%if %{defined ghc_version}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
%endif
|
||||
%if %{undefined ghc_without_shared}
|
||||
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
||||
%else
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description -n ghc-%{name}-devel
|
||||
This package provides the Haskell %{name} library development files.
|
||||
|
@ -130,9 +138,7 @@ mv %{buildroot}%{_ghcdocdir}{,-common}
|
|||
# End cabal-rpm files
|
||||
|
||||
|
||||
%if %{undefined ghc_without_shared}
|
||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||
%endif
|
||||
|
||||
|
||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
||||
|
@ -150,6 +156,9 @@ mv %{buildroot}%{_ghcdocdir}{,-common}
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.13.8.3-3
|
||||
- refresh to cabal-rpm-2.1.0 including SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.8.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue