update to 0.9.2

This commit is contained in:
Jens Petersen 2023-01-23 01:30:23 +08:00
parent a9436d1c95
commit 5bf2daf3ad
4 changed files with 20 additions and 101 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/path-0.6.1.tar.gz
/path-0.7.1.tar.gz
/path-0.8.0.tar.gz
/path-0.9.2.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
@ -7,21 +7,28 @@
# testsuite missing deps: genvalidity genvalidity-hspec genvalidity-property validity
Name: ghc-%{pkg_name}
Version: 0.8.0
Release: 4%{?dist}
Version: 0.9.2
Release: 1%{?dist}
Summary: Support for well-typed paths
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-aeson-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
%if %{with ghc_prof}
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
@ -30,6 +37,7 @@ BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
%endif
# End cabal-rpm deps
%description
@ -74,7 +82,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
@ -112,6 +119,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.9.2-1
- https://hackage.haskell.org/package/path-0.9.2/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,93 +0,0 @@
name: path
version: 0.8.0
x-revision: 1
synopsis: Support for well-typed paths
description: Support for well-typed paths.
license: BSD3
license-file: LICENSE
author: Chris Done <chrisdone@fpcomplete.com>
maintainer: Chris Done <chrisdone@fpcomplete.com>
copyright: 20152018 FP Complete
category: System, Filesystem
build-type: Simple
cabal-version: 1.18
tested-with: GHC==8.6.5, GHC==8.8.3, GHC==8.10.1
extra-source-files: README.md
, CHANGELOG
, src/Path/Include.hs
flag dev
description: Turn on development settings.
manual: True
default: False
library
hs-source-dirs: src
exposed-modules: Path
, Path.Internal
, Path.Posix
, Path.Windows
build-depends: aeson
, base >= 4.12 && < 5
, deepseq
, exceptions >= 0.4 && < 0.11
, filepath < 1.2.0.1 || >= 1.3
, hashable >= 1.2 && < 1.4
, text
, template-haskell < 2.17
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
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Posix
, Windows
, Common
, TH
hs-source-dirs: test
build-depends: aeson
, base >= 4.12 && < 5
, bytestring
, filepath < 1.2.0.1 || >= 1.3
, hspec >= 2.0 && < 3
, mtl >= 2.0 && < 3
, path
, template-haskell
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
test-suite validity-test
type: exitcode-stdio-1.0
main-is: ValidityTest.hs
other-modules: Path.Gen
hs-source-dirs: test
build-depends: QuickCheck
, aeson
, base >= 4.12 && < 5
, bytestring
, filepath < 1.2.0.1 || >= 1.3
, genvalidity >= 0.8
, genvalidity-property >= 0.4
, genvalidity-hspec >= 0.7
, hspec >= 2.0 && < 3
, mtl >= 2.0 && < 3
, path
, validity >= 0.8.0.0
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
source-repository head
type: git
location: https://github.com/commercialhaskell/path.git

View File

@ -1 +1 @@
SHA512 (path-0.8.0.tar.gz) = 624c67d0f2779a4470c806d50666a122476d9553f304f1f69fafd3b11cd0acb588c0e246f5ed77d947f0e1ec59b95edbef8a95ff1190dca7a78e0b299b1ec063
SHA512 (path-0.9.2.tar.gz) = 5d53506e7698f3966d867df8e8c5cc30a997a87145dab80893134d01ee526404e9eeffa1ca6fa2f70b8abed18e0a0d77b14799fe3cac79188b048dac56bce4ae