refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:57 +08:00
parent 0fec639794
commit b565a86529
2 changed files with 16 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Name: data-fix
Version: 0.3.2
x-revision: 2
x-revision: 3
Cabal-Version: >= 1.10
License: BSD3
License-file: LICENSE
@ -32,8 +32,9 @@ Tested-With:
|| ==8.6.5
|| ==8.8.4
|| ==8.10.4
|| ==9.0.1
|| ==9.2.1
|| ==9.0.2
|| ==9.2.4
|| ==9.4.1
extra-source-files:
CHANGELOG.md
@ -57,7 +58,7 @@ library
-Wredundant-constraints -Widentities -Wmissing-export-lists
build-depends:
base >=4.4 && <4.17
base >=4.4 && <4.18
, deepseq >=1.3.0.0 && <1.5
, hashable >=1.2.7.0 && <1.5

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 data-fix
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name}
Version: 0.3.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Fixpoint data types
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
@ -19,9 +19,14 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-hashable-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-hashable-prof
%endif
# End cabal-rpm deps
%description
@ -107,6 +112,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.3.2-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild