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 6e654f8a2e
commit 72637a39d8
2 changed files with 15 additions and 9 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 optional-args
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name}
Version: 1.0.2
Release: 16%{?dist}
Release: 17%{?dist}
Summary: Optional function arguments
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,7 +19,10 @@ 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
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
%endif
# End cabal-rpm deps
%description
@ -103,6 +106,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.2-17
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,14 +1,14 @@
Name: optional-args
Version: 1.0.2
x-revision: 1
x-revision: 2
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2015 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: Gabriel439@gmail.com
Bug-Reports: https://github.com/Gabriel439/Haskell-Optional-Args-Library/issues
Copyright: 2015 Gabriella Gonzalez
Author: Gabriella Gonzalez
Maintainer: GenuineGabriella@gmail.com
Bug-Reports: https://github.com/Gabriella439/Haskell-Optional-Args-Library/issues
Synopsis: Optional function arguments
Description: This library provides a type for specifying `Optional` function
arguments
@ -17,7 +17,7 @@ Description: This library provides a type for specifying `Optional` function
Category: Data
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-Optional-Args-Library
Location: https://github.com/Gabriella439/Haskell-Optional-Args-Library
Library
HS-Source-Dirs: src