From ca741d9bcc6e98d423658203d7158fe522fec7b1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Jan 2023 23:54:56 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 with SPDX migration --- aeson-pretty-0.8.9.cabal | 4 ++-- ghc-aeson-pretty.spec | 21 ++++++++++++++++++--- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/aeson-pretty-0.8.9.cabal b/aeson-pretty-0.8.9.cabal index 396709a..5b5eafd 100644 --- a/aeson-pretty-0.8.9.cabal +++ b/aeson-pretty-0.8.9.cabal @@ -1,7 +1,7 @@ cabal-version: 2.0 name: aeson-pretty version: 0.8.9 -x-revision: 1 +x-revision: 2 license: BSD3 license-file: LICENSE category: Text, Web, JSON, Pretty Printer @@ -42,7 +42,7 @@ library Data.Aeson.Encode.Pretty build-depends: - aeson ^>= 1.0 || ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || ^>=2.0, + aeson ^>= 1.0 || ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || ^>=2.0 || ^>=2.1, base >= 4.5, base-compat >= 0.9, bytestring >= 0.9, diff --git a/ghc-aeson-pretty.spec b/ghc-aeson-pretty.spec index c31540c..b48be63 100644 --- a/ghc-aeson-pretty.spec +++ b/ghc-aeson-pretty.spec @@ -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 aeson-pretty @@ -6,10 +6,10 @@ Name: ghc-%{pkg_name} Version: 0.8.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: JSON pretty-printing library -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 @@ -20,6 +20,17 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-attoparsec-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-compat-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-cmdargs-devel +BuildRequires: ghc-scientific-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-unordered-containers-devel +BuildRequires: ghc-vector-devel +%if %{with ghc_prof} BuildRequires: ghc-aeson-prof BuildRequires: ghc-attoparsec-prof BuildRequires: ghc-base-prof @@ -30,6 +41,7 @@ BuildRequires: ghc-scientific-prof BuildRequires: ghc-text-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-vector-prof +%endif # End cabal-rpm deps %description @@ -121,6 +133,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Feb 16 2023 Jens Petersen - 0.8.9-3 +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 0.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild