refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:58 +08:00
parent 2c02fa9437
commit aa600e5ff9

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.10 --subpackage # generated by cabal-rpm-2.1.0 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name optparse-simple %global pkg_name optparse-simple
@ -13,10 +13,10 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.1.4 Version: 0.1.1.4
# can only be reset when all subpkgs bumped # can only be reset when all subpkgs bumped
Release: 4%{?dist} Release: 5%{?dist}
Summary: Simple interface to optparse-applicative Summary: Simple interface to optparse-applicative
License: BSD License: BSD-3-Clause
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
@ -26,21 +26,35 @@ Source1: https://hackage.haskell.org/package/%{githash}/%{githash}.tar.gz
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-base-devel
#BuildRequires: ghc-githash-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-th-compat-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
#BuildRequires: ghc-githash-prof #BuildRequires: ghc-githash-prof
BuildRequires: ghc-optparse-applicative-prof BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-th-compat-prof BuildRequires: ghc-th-compat-prof
BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-prof
%endif
%if %{with tests} %if %{with tests}
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
%endif %endif
# for missing dep 'githash': # for missing dep 'githash':
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel
%if %{with ghc_prof}
BuildRequires: ghc-bytestring-prof BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-directory-prof BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof BuildRequires: ghc-filepath-prof
BuildRequires: ghc-process-prof BuildRequires: ghc-process-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -140,6 +154,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog %changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.1.1.4-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1.4-4 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild