update to 0.2

refresh to cabal-rpm-2.1.0 with SPDX migration
This commit is contained in:
Jens Petersen 2023-01-22 22:30:17 +08:00
parent 0ab4c34e77
commit 14778dc5fa
4 changed files with 25 additions and 41 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/data-clist-0.1.2.3.tar.gz
/data-clist-0.2.tar.gz

View File

@ -1,33 +0,0 @@
Name: data-clist
Synopsis: Simple functional ring type.
Description: Simple functional bidirectional ring type.
Given that the ring terminiology clashes with certain
mathematical branches, we're using the term CList or
CircularList instead.
Version: 0.1.2.3
x-revision: 1
License: BSD3
License-File: LICENSE
Author: John Van Enk <vanenkj@gmail.com>
Maintainer: Jeremy Huffman <jeremy@jeremyhuffman.com>, John Van Enk <vanenkj@gmail.com>
Stability: experimental
Category: Data Structures
Cabal-Version: >= 1.6
Build-Type: Simple
Homepage: https://github.com/sw17ch/data-clist
source-repository head
type: git
location: git://github.com/sw17ch/data-clist.git
Library
Build-Depends: base >= 4 && < 5,
deepseq >= 1.1 && < 1.5,
QuickCheck >= 2.4 && < 2.15
Exposed-Modules:
Data.CircularList
ghc-options: -Wall
hs-source-dirs: src

View File

@ -1,27 +1,34 @@
# 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-clist
%global pkgver %{pkg_name}-%{version}
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.1.2.3
Release: 12%{?dist}
Version: 0.2
Release: 1%{?dist}
Summary: Simple functional ring type
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
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
%endif
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
%endif
# End cabal-rpm deps
%description
@ -68,7 +75,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -84,6 +90,12 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm install
%check
%if %{with tests}
%cabal_test
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
@ -105,6 +117,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.2-1
- https://hackage.haskell.org/package/data-clist-0.2/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (data-clist-0.1.2.3.tar.gz) = efd547b36452f46943778059b5b7854932b9459faa3e196bae9571504ad4f4cb71f07c5b2f8d05faa1752147704008ac1091d391e341b6775534e250939e63c4
SHA512 (data-clist-0.2.tar.gz) = d47b7208170b05610c3e37e02e9a807fe20023413c3498148164fdae1b306c1bde30a76a0a99dd2b2d1d0fabbf2ebe487454cf296cdc558bbf56a89c9db52f14