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 2d71c14157
commit 184bf34d90
2 changed files with 11 additions and 5 deletions

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 setlocale
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name}
Version: 1.0.0.10
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A Haskell interface to setlocale
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,7 +20,10 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
%endif
# End cabal-rpm deps
%description
@ -102,6 +105,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.0.10-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,6 +1,6 @@
name: setlocale
version: 1.0.0.10
x-revision: 1
x-revision: 2
synopsis: Haskell bindings to setlocale
-- description:
license: BSD3
@ -19,7 +19,7 @@ library
exposed-modules: System.Locale.SetLocale
-- other-modules:
other-extensions: DeriveDataTypeable, ForeignFunctionInterface
build-depends: base >=4.6 && <4.17
build-depends: base >=4.6 && <4.18
-- hs-source-dirs:
build-tools: hsc2hs
default-language: Haskell2010