Compare commits

...

6 Commits

Author SHA1 Message Date
Fedora Release Engineering
8238bfefcb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 14:42:29 +00:00
Fedora Release Engineering
7c6d96610d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 22:13:47 +00:00
Jens Petersen
53992d0d6c update to 0.11.11.2 2023-07-24 00:57:45 +08:00
Fedora Release Engineering
445a6a5de3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 22:51:50 +00:00
Jens Petersen
1836d2846c cabal-rpm-2.1.2 now inserts %autopatch 2023-07-19 23:36:37 +08:00
Jens Petersen
0f7e36c5be use autopatch 2023-07-19 23:20:06 +08:00
4 changed files with 246 additions and 6 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/yaml-0.11.4.0.tar.gz
/yaml-0.11.5.0.tar.gz
/yaml-0.11.8.0.tar.gz
/yaml-0.11.11.2.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.1.0 --subpackage
# generated by cabal-rpm-2.1.2 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name yaml
@ -10,9 +10,9 @@
# testsuite missing deps: raw-strings-qq
Name: ghc-%{pkg_name}
Version: 0.11.8.0
Version: 0.11.11.2
# can only be reset when all subpkgs bumped
Release: 15%{?dist}
Release: 19%{?dist}
Summary: Support for parsing and rendering YAML documents
License: BSD-3-Clause
@ -21,7 +21,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{libyaml}/%{libyaml}.tar.gz
# End cabal-rpm sources
Patch1: system-libyaml.patch
Patch0: system-libyaml.patch
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
@ -121,8 +121,8 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
%autopatch -p1
# End cabal-rpm setup
%patch1 -p1 -b .orig
(
cd %{libyaml}
# remove the bundled lib
@ -166,6 +166,18 @@ rm -r libyaml_src
%changelog
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.11.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.11.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jul 23 2023 Jens Petersen <petersen@redhat.com> - 0.11.11.2-17
- https://hackage.haskell.org/package/yaml-0.11.11.2/changelog
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.8.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.11.8.0-15
- refresh to cabal-rpm-2.1.0 with SPDX migration

View File

@ -1,2 +1,2 @@
SHA512 (libyaml-0.1.1.0.tar.gz) = d63e95128e12059813fdb16d8b6f432b72d057a83f229b587c9d9e8bf4de3f2777a1d2920e32ea58d8c16aa0d8e79775dec5392e19b95a36d7347994635f53e0
SHA512 (yaml-0.11.8.0.tar.gz) = f47ae0a158bfd323e06ff31db348f916077882f4198b160c7f3f88e89ae0e62a9f17ff5ba29c15a1d74a52d040245613eced5267c38f9658d0a19007efb402f7
SHA512 (yaml-0.11.11.2.tar.gz) = 419b5fb86d96d2e7adda5b0091d9d32eb2a5c964d32ca9d72e83feb14aef738e5029f43d1760a91ae83c47aebd8d2211e255dfdf28e95c64be3fbb2380cfaf60

227
yaml-0.11.11.2.cabal Normal file
View File

@ -0,0 +1,227 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack
name: yaml
version: 0.11.11.2
x-revision: 2
synopsis: Support for parsing and rendering YAML documents.
description: README and API documentation are available at <https://www.stackage.org/package/yaml>
category: Data
stability: stable
homepage: https://github.com/snoyberg/yaml#readme
bug-reports: https://github.com/snoyberg/yaml/issues
author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
maintainer: Michael Snoyman <michael@snoyman.com>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
test/largest-string.yaml
test/json.yaml
test/resources/foo.yaml
test/resources/bar.yaml
test/resources/baz.yaml
test/resources/accent/foo.yaml
test/resources/loop/foo.yaml
test/resources/loop/bar.yaml
test/resources/empty.yaml
test/resources/empty2.yaml
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/snoyberg/yaml
flag no-examples
description: don't build the examples
manual: False
default: True
flag no-exe
description: don't install the yaml2json or json2yaml executables
manual: False
default: True
library
exposed-modules:
Data.Yaml
Data.Yaml.Aeson
Data.Yaml.Builder
Data.Yaml.Config
Data.Yaml.Include
Data.Yaml.Internal
Data.Yaml.Parser
Data.Yaml.Pretty
Data.Yaml.TH
other-modules:
Paths_yaml
hs-source-dirs:
src
other-extensions:
LambdaCase
ghc-options: -Wall -Wcompat
build-depends:
aeson >=0.11
, attoparsec >=0.11.3.0
, base >=4.9.1 && <5
, bytestring >=0.9.1.4
, conduit >=1.2.8 && <1.4
, containers
, directory
, filepath
, libyaml ==0.1.*
, mtl
, resourcet >=0.3 && <1.4
, scientific >=0.3
, template-haskell
, text
, transformers >=0.1
, unordered-containers
, vector
default-language: Haskell2010
executable examples
main-is: Main.hs
other-modules:
Config
Simple
Paths_yaml
hs-source-dirs:
examples
ghc-options: -Wall -Wcompat
build-depends:
aeson >=0.11
, attoparsec >=0.11.3.0
, base >=4.9.1 && <5
, bytestring >=0.9.1.4
, conduit >=1.2.8 && <1.4
, containers
, directory
, filepath
, libyaml ==0.1.*
, mtl
, resourcet >=0.3 && <1.4
, scientific >=0.3
, template-haskell
, text
, transformers >=0.1
, unordered-containers
, vector
default-language: Haskell2010
if flag(no-examples)
buildable: False
else
build-depends:
raw-strings-qq
, yaml
executable json2yaml
main-is: json2yaml.hs
other-modules:
Common
Paths_yaml
hs-source-dirs:
exe
ghc-options: -Wall -Wcompat
build-depends:
aeson >=0.11
, attoparsec >=0.11.3.0
, base >=4.9.1 && <5
, bytestring >=0.9.1.4
, conduit >=1.2.8 && <1.4
, containers
, directory
, filepath
, libyaml ==0.1.*
, mtl
, optparse-applicative
, resourcet >=0.3 && <1.4
, scientific >=0.3
, template-haskell
, text
, transformers >=0.1
, unordered-containers
, vector
, yaml
default-language: Haskell2010
if flag(no-exe)
buildable: False
executable yaml2json
main-is: yaml2json.hs
other-modules:
Common
Paths_yaml
hs-source-dirs:
exe
other-extensions:
CPP
LambdaCase
NamedFieldPuns
ghc-options: -Wall -Wcompat
build-depends:
aeson >=0.11
, attoparsec >=0.11.3.0
, base >=4.9.1 && <5
, bytestring >=0.9.1.4
, conduit >=1.2.8 && <1.4
, containers
, directory
, filepath
, libyaml ==0.1.*
, mtl
, optparse-applicative
, resourcet >=0.3 && <1.4
, scientific >=0.3
, template-haskell
, text
, transformers >=0.1
, unordered-containers
, vector
, yaml
default-language: Haskell2010
if flag(no-exe)
buildable: False
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Data.Yaml.IncludeSpec
Data.Yaml.THSpec
Data.YamlSpec
Paths_yaml
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -with-rtsopts=-K1K
cpp-options: -DTEST
build-depends:
HUnit
, aeson >=0.11
, attoparsec >=0.11.3.0
, base >=4.9.1 && <5
, base-compat
, bytestring >=0.9.1.4
, conduit >=1.2.8 && <1.4
, containers
, directory
, filepath
, hspec >=1.3
, libyaml ==0.1.*
, mockery
, mtl
, raw-strings-qq
, resourcet >=0.3 && <1.4
, scientific >=0.3
, template-haskell
, temporary
, text
, transformers >=0.1
, unordered-containers
, vector
, yaml
default-language: Haskell2010