update to 1.7.0

This commit is contained in:
Jens Petersen 2023-01-23 01:30:36 +08:00
parent cbbf2b62dd
commit 3ebfaa042b
4 changed files with 23 additions and 84 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/path-io-1.6.0.tar.gz
/path-io-1.6.2.tar.gz
/path-io-1.6.3.tar.gz
/path-io-1.7.0.tar.gz

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 path-io
@ -7,21 +7,31 @@
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 1.6.3
Release: 4%{?dist}
Version: 1.7.0
Release: 1%{?dist}
Summary: Interface to directory package for users of path
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: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-dlist-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-path-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-compat-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
@ -33,6 +43,7 @@ BuildRequires: ghc-temporary-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unix-compat-prof
%endif
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
@ -80,7 +91,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -124,6 +134,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 1.7.0-1
- https://hackage.haskell.org/package/path-io-1.7.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,76 +0,0 @@
cabal-version: 1.18
name: path-io
version: 1.6.3
x-revision: 3
license: BSD3
license-file: LICENSE.md
maintainer: Mark Karpov <markkarpov92@gmail.com>
author: Mark Karpov <markkarpov92@gmail.com>
tested-with: ghc ==8.8.4 ghc ==8.10.4 ghc ==9.0.1
homepage: https://github.com/mrkkrp/path-io
bug-reports: https://github.com/mrkkrp/path-io/issues
synopsis: Interface to directory package for users of path
description: Interface to directory package for users of path.
category: System, Filesystem
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/mrkkrp/path-io.git
flag dev
description: Turn on development settings.
default: False
manual: True
library
exposed-modules: Path.IO
default-language: Haskell2010
build-depends:
base >=4.13 && <5.0,
containers,
directory >=1.3.2.0 && <1.4,
dlist >=0.8 && <2.0,
exceptions >=0.8 && <0.11,
filepath >=1.2 && <1.5,
path >=0.6 && <0.10,
temporary >=1.1 && <1.4,
time >=1.4 && <1.13,
transformers >=0.3 && <0.7,
unix-compat
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
if flag(dev)
ghc-options:
-Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
default-language: Haskell2010
build-depends:
base >=4.13 && <5.0,
directory >=1.3.2.0 && <1.4,
exceptions >=0.8 && <0.11,
hspec >=2.0 && <3.0,
filepath >=1.2 && <1.5,
path >=0.6 && <0.10,
path-io,
transformers >=0.3 && <0.7,
unix-compat
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall

View File

@ -1 +1 @@
SHA512 (path-io-1.6.3.tar.gz) = d9d4e0d3a0b74677b8e29608254b1a4b5f306378400e8ec6d2b96ec4fd5b340ca20652684af558ec5ec5c401a18c4c9203adf7afbb1a602df0786459bc5bc774
SHA512 (path-io-1.7.0.tar.gz) = 29b6355eca04eaf675a0016fbcb132a91fd88a200ff1ccbc89e88aba007d692c49a03a0d3e15b41938b33f4d668eb4e970a5bc08b411b8c0331abba630504be3