From 93e2afeccb1eb88ece3115c73effb8b662db412d Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 30 Jun 2020 15:06:26 +0000 Subject: [PATCH 01/13] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e1e69f --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-HsYAML + +The ghc-HsYAML package \ No newline at end of file From 344fc2bec983d436dde5f0b97982d53421157a6b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 1 Jul 2020 15:15:07 +0800 Subject: [PATCH 02/13] import #1851596 --- .gitignore | 1 + HsYAML-0.1.2.0.cabal | 108 +++++++++++++++++++++++++++++++++++++ ghc-HsYAML.spec | 125 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 235 insertions(+) create mode 100644 .gitignore create mode 100644 HsYAML-0.1.2.0.cabal create mode 100644 ghc-HsYAML.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc5fca1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/HsYAML-0.1.2.0.tar.gz diff --git a/HsYAML-0.1.2.0.cabal b/HsYAML-0.1.2.0.cabal new file mode 100644 index 0000000..2324423 --- /dev/null +++ b/HsYAML-0.1.2.0.cabal @@ -0,0 +1,108 @@ +cabal-version: 1.14 +build-type: Simple +name: HsYAML +version: 0.1.2.0 +x-revision: 1 + +synopsis: Pure Haskell YAML 1.2 parser +homepage: https://github.com/hvr/HsYAML +bug-reports: https://github.com/hvr/HsYAML/issues +license: GPL-2 +X-SPDX-License-Identifier: GPL-2.0-or-later +license-files: LICENSE.GPLv2 LICENSE.GPLv3 +author: Herbert Valerio Riedel +maintainer: hvr@gnu.org +copyright: 2015-2018 Herbert Valerio Riedel + , 2007-2008 Oren Ben-Kiki +category: Text +tested-with: GHC==8.6.5, GHC==8.4.4, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 + +description: + @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) parser implementation for Haskell. + . + Features of @HsYAML@ include: + . + * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). + * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). + * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). + * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas). + * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). + * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). + . + +extra-source-files: + ChangeLog.md + +source-repository head + type: git + location: https://github.com/hvr/HsYAML.git + +flag exe + description: Enable @exe:yaml-test@ component + manual: True + default: False + +library + hs-source-dirs: src + exposed-modules: Data.YAML + , Data.YAML.Event + , Data.YAML.Token + other-modules: Data.YAML.Loader + , Data.YAML.Schema + , Data.YAML.Token.Encoding + , Util + , Data.DList + + default-language: Haskell2010 + other-extensions: FlexibleContexts + FlexibleInstances + FunctionalDependencies + MultiParamTypeClasses + OverloadedStrings + PostfixOperators + RecordWildCards + RecursiveDo + Safe + ScopedTypeVariables + Trustworthy + TypeSynonymInstances + + build-depends: base >=4.5 && <4.14 + , bytestring >=0.9 && <0.11 + , containers >=0.4.2 && <0.7 + , text >=1.2.3 && <1.3 + , mtl >=2.2.1 && <2.3 + , parsec >=3.1.13.0 && < 3.2 + + if !impl(ghc >= 8.0) + build-depends: fail >=4.9.0.0 && <4.10 + + if !impl(ghc >= 7.10) + build-depends: nats >=1.1.2 && <1.2 + + ghc-options: -Wall + +executable yaml-test + hs-source-dirs: src-test + main-is: Main.hs + other-modules: TML + + default-language: Haskell2010 + + if flag(exe) + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , megaparsec >= 6.5.0 && < 6.6 + , microaeson == 0.1.* + , filepath == 1.4.* + , directory >= 1.2 && < 1.4 + else + buildable: False + + ghc-options: -rtsopts diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec new file mode 100644 index 0000000..84452eb --- /dev/null +++ b/ghc-HsYAML.spec @@ -0,0 +1,125 @@ +# generated by cabal-rpm-2.0.6 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name HsYAML +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.1.2.0 +Release: 1%{?dist} +Summary: Pure Haskell YAML 1.2 parser + +License: GPLv2+ +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-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-text-prof +# End cabal-rpm deps + +%description +'HsYAML' is a YAML 1.2 parser implementation for Haskell. + +Features of 'HsYAML' include: + +* Pure Haskell implementation with small dependency footprint and emphasis on +strict compliance with the http://yaml.org/spec/1.2/spec.html). +* Direct decoding to native Haskell types via ('aeson'-inspired) typeclass-based +API (see "Data.YAML"). +* Support for constructing custom YAML node graph representation (including +support for cyclic YAML data structures). +* Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and +(flexible) /Core/ "schemas" providing implicit typing rules as defined in +the YAML 1.2 specification (including support for user-defined custom schemas). +* Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). +* Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE.GPLv2 +%license LICENSE.GPLv3 +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE.GPLv2 +%license LICENSE.GPLv3 +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Thu Mar 5 2020 Fedora Haskell SIG - 0.1.2.0-1 +- spec file generated by cabal-rpm-2.0.4 diff --git a/sources b/sources new file mode 100644 index 0000000..fc9858f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (HsYAML-0.1.2.0.tar.gz) = 540123f547e4f76241a1282f87f45b0af282076a6edcd73c52a5362b5f5bcc50b92fef0c6a611ebdca25f8b5e9a9825911d42d2b9be75e9bbea214a3718dd9c3 From 5f96f8eaafee0c94e1d31c0076fa3befd6c0eaa3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 16 Jul 2020 19:13:13 +0800 Subject: [PATCH 03/13] update to 0.2.1.0 --- .gitignore | 1 + HsYAML-0.1.2.0.cabal => HsYAML-0.2.1.0.cabal | 54 ++++++++++++++++---- ghc-HsYAML.spec | 29 +++++++++-- sources | 2 +- 4 files changed, 72 insertions(+), 14 deletions(-) rename HsYAML-0.1.2.0.cabal => HsYAML-0.2.1.0.cabal (66%) diff --git a/.gitignore b/.gitignore index dc5fca1..03ae60f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /HsYAML-0.1.2.0.tar.gz +/HsYAML-0.2.1.0.tar.gz diff --git a/HsYAML-0.1.2.0.cabal b/HsYAML-0.2.1.0.cabal similarity index 66% rename from HsYAML-0.1.2.0.cabal rename to HsYAML-0.2.1.0.cabal index 2324423..9ea5c1b 100644 --- a/HsYAML-0.1.2.0.cabal +++ b/HsYAML-0.2.1.0.cabal @@ -1,10 +1,9 @@ cabal-version: 1.14 -build-type: Simple name: HsYAML -version: 0.1.2.0 +version: 0.2.1.0 x-revision: 1 -synopsis: Pure Haskell YAML 1.2 parser +synopsis: Pure Haskell YAML 1.2 processor homepage: https://github.com/hvr/HsYAML bug-reports: https://github.com/hvr/HsYAML/issues license: GPL-2 @@ -15,20 +14,25 @@ maintainer: hvr@gnu.org copyright: 2015-2018 Herbert Valerio Riedel , 2007-2008 Oren Ben-Kiki category: Text -tested-with: GHC==8.6.5, GHC==8.4.4, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 +build-type: Simple +tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 description: - @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) parser implementation for Haskell. + @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. + . Features of @HsYAML@ include: . * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). + * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). - * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas). + * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). + * Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). . + See also the package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. extra-source-files: ChangeLog.md @@ -45,16 +49,23 @@ flag exe library hs-source-dirs: src exposed-modules: Data.YAML + , Data.YAML.Schema , Data.YAML.Event , Data.YAML.Token other-modules: Data.YAML.Loader - , Data.YAML.Schema + , Data.YAML.Dumper + , Data.YAML.Internal + , Data.YAML.Event.Internal + , Data.YAML.Event.Writer + , Data.YAML.Pos + , Data.YAML.Schema.Internal , Data.YAML.Token.Encoding , Util , Data.DList default-language: Haskell2010 - other-extensions: FlexibleContexts + other-extensions: DeriveGeneric + FlexibleContexts FlexibleInstances FunctionalDependencies MultiParamTypeClasses @@ -67,13 +78,18 @@ library Trustworthy TypeSynonymInstances - build-depends: base >=4.5 && <4.14 + build-depends: base >=4.5 && <4.15 , bytestring >=0.9 && <0.11 , containers >=0.4.2 && <0.7 + , deepseq >=1.3.0 && <1.5 , text >=1.2.3 && <1.3 , mtl >=2.2.1 && <2.3 , parsec >=3.1.13.0 && < 3.2 + -- for GHC.Generics + if impl(ghc < 7.6) + build-depends: ghc-prim + if !impl(ghc >= 8.0) build-depends: fail >=4.9.0.0 && <4.10 @@ -106,3 +122,23 @@ executable yaml-test buildable: False ghc-options: -rtsopts + +test-suite tests + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Tests.hs + + ghc-options: -rtsopts + + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , QuickCheck == 2.13.* + , tasty == 1.2.* + , tasty-quickcheck == 0.10.* diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 84452eb..0579486 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -4,10 +4,12 @@ %global pkg_name HsYAML %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 0.1.2.0 +Version: 0.2.1.0 Release: 1%{?dist} -Summary: Pure Haskell YAML 1.2 parser +Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ Url: https://hackage.haskell.org/package/%{pkg_name} @@ -22,25 +24,36 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-text-prof +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif # End cabal-rpm deps %description -'HsYAML' is a YAML 1.2 parser implementation for Haskell. +'HsYAML' is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. +a library for parsing and serializing YAML documents. Features of 'HsYAML' include: * Pure Haskell implementation with small dependency footprint and emphasis on -strict compliance with the http://yaml.org/spec/1.2/spec.html). +strict compliance with the . * Direct decoding to native Haskell types via ('aeson'-inspired) typeclass-based API (see "Data.YAML"). +* Allows round-tripping while preserving ordering, anchors, and comments at +Event-level. * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ "schemas" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas). +* Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) +/Core/ "schemas" (including support for user-defined custom encoding schemas * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). @@ -82,6 +95,7 @@ This package provides the Haskell %{pkg_name} profiling library. # Begin cabal-rpm setup: %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal +chmod a-x ChangeLog.md # End cabal-rpm setup @@ -97,6 +111,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install +%check +%cabal_test + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE.GPLv2 @@ -121,5 +139,8 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 16 2020 Jens Petersen - 0.2.1.0-1 +- update to 0.2.1.0 + * Thu Mar 5 2020 Fedora Haskell SIG - 0.1.2.0-1 - spec file generated by cabal-rpm-2.0.4 diff --git a/sources b/sources index fc9858f..af07ce1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HsYAML-0.1.2.0.tar.gz) = 540123f547e4f76241a1282f87f45b0af282076a6edcd73c52a5362b5f5bcc50b92fef0c6a611ebdca25f8b5e9a9825911d42d2b9be75e9bbea214a3718dd9c3 +SHA512 (HsYAML-0.2.1.0.tar.gz) = f8ad41a99e48183835093ad8bf6a3fbdf4b9ad9df3bea46b12efd55a9555c22bd2595c72b1ac2e73379ab47e21f6cbf9022412db8971e1c7c02a32e824f53304 From 8983284941f7a360cf7aec01eb481c55697dbf04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:42:32 +0000 Subject: [PATCH 04/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HsYAML.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 0579486..95764a5 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ @@ -139,6 +139,9 @@ chmod a-x ChangeLog.md %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jul 16 2020 Jens Petersen - 0.2.1.0-1 - update to 0.2.1.0 From 8e8ae42126df6d3e8a854c4b6fc7ac898da1140a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:46:27 +0000 Subject: [PATCH 05/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HsYAML.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 95764a5..63023bf 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ @@ -139,6 +139,9 @@ chmod a-x ChangeLog.md %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.2.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From fc221a6defacf3a4e366cf1344e76aeebb77e32f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:12:48 +0000 Subject: [PATCH 06/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HsYAML.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 63023bf..59b27c3 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ @@ -139,6 +139,9 @@ chmod a-x ChangeLog.md %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.2.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From b8f09cfa95a36940779e888a7d0acd242c676a11 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Jul 2021 23:21:47 +0800 Subject: [PATCH 07/13] refresh to cabal-rpm-2.0.9 --- ghc-HsYAML.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 59b27c3..cc57928 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name HsYAML @@ -74,6 +74,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -95,7 +96,6 @@ This package provides the Haskell %{pkg_name} profiling library. # Begin cabal-rpm setup: %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal -chmod a-x ChangeLog.md # End cabal-rpm setup @@ -112,7 +112,9 @@ chmod a-x ChangeLog.md %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From f819035406e2fba084397e32ff2203be30427a8b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Jul 2021 23:21:57 +0800 Subject: [PATCH 08/13] allow newer QuickCheck --- ghc-HsYAML.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index cc57928..2586156 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -97,6 +97,7 @@ This package provides the Haskell %{pkg_name} profiling library. %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup +cabal-tweak-dep-ver QuickCheck '2.13.*' '2.14.*' %build From d0163167f01f71ff9c6c17b6ced3dc57d5bce6f4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 10 Jul 2021 08:19:51 +0800 Subject: [PATCH 09/13] newer revision --- HsYAML-0.2.1.0.cabal | 288 +++++++++++++++++++++---------------------- ghc-HsYAML.spec | 1 + 2 files changed, 145 insertions(+), 144 deletions(-) diff --git a/HsYAML-0.2.1.0.cabal b/HsYAML-0.2.1.0.cabal index 9ea5c1b..ff7bea5 100644 --- a/HsYAML-0.2.1.0.cabal +++ b/HsYAML-0.2.1.0.cabal @@ -1,144 +1,144 @@ -cabal-version: 1.14 -name: HsYAML -version: 0.2.1.0 -x-revision: 1 - -synopsis: Pure Haskell YAML 1.2 processor -homepage: https://github.com/hvr/HsYAML -bug-reports: https://github.com/hvr/HsYAML/issues -license: GPL-2 -X-SPDX-License-Identifier: GPL-2.0-or-later -license-files: LICENSE.GPLv2 LICENSE.GPLv3 -author: Herbert Valerio Riedel -maintainer: hvr@gnu.org -copyright: 2015-2018 Herbert Valerio Riedel - , 2007-2008 Oren Ben-Kiki -category: Text -build-type: Simple -tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 - -description: - @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. - - . - Features of @HsYAML@ include: - . - * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). - * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). - * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. - * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). - * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). - * Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). - * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). - * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). - . - See also the package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. - -extra-source-files: - ChangeLog.md - -source-repository head - type: git - location: https://github.com/hvr/HsYAML.git - -flag exe - description: Enable @exe:yaml-test@ component - manual: True - default: False - -library - hs-source-dirs: src - exposed-modules: Data.YAML - , Data.YAML.Schema - , Data.YAML.Event - , Data.YAML.Token - other-modules: Data.YAML.Loader - , Data.YAML.Dumper - , Data.YAML.Internal - , Data.YAML.Event.Internal - , Data.YAML.Event.Writer - , Data.YAML.Pos - , Data.YAML.Schema.Internal - , Data.YAML.Token.Encoding - , Util - , Data.DList - - default-language: Haskell2010 - other-extensions: DeriveGeneric - FlexibleContexts - FlexibleInstances - FunctionalDependencies - MultiParamTypeClasses - OverloadedStrings - PostfixOperators - RecordWildCards - RecursiveDo - Safe - ScopedTypeVariables - Trustworthy - TypeSynonymInstances - - build-depends: base >=4.5 && <4.15 - , bytestring >=0.9 && <0.11 - , containers >=0.4.2 && <0.7 - , deepseq >=1.3.0 && <1.5 - , text >=1.2.3 && <1.3 - , mtl >=2.2.1 && <2.3 - , parsec >=3.1.13.0 && < 3.2 - - -- for GHC.Generics - if impl(ghc < 7.6) - build-depends: ghc-prim - - if !impl(ghc >= 8.0) - build-depends: fail >=4.9.0.0 && <4.10 - - if !impl(ghc >= 7.10) - build-depends: nats >=1.1.2 && <1.2 - - ghc-options: -Wall - -executable yaml-test - hs-source-dirs: src-test - main-is: Main.hs - other-modules: TML - - default-language: Haskell2010 - - if flag(exe) - build-depends: HsYAML - -- inherited constraints - , bytestring >= 0.10.8.0 - , base - , text - , containers - , mtl - -- non-inherited - , megaparsec >= 6.5.0 && < 6.6 - , microaeson == 0.1.* - , filepath == 1.4.* - , directory >= 1.2 && < 1.4 - else - buildable: False - - ghc-options: -rtsopts - -test-suite tests - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Tests.hs - - ghc-options: -rtsopts - - build-depends: HsYAML - -- inherited constraints - , bytestring >= 0.10.8.0 - , base - , text - , containers - , mtl - -- non-inherited - , QuickCheck == 2.13.* - , tasty == 1.2.* - , tasty-quickcheck == 0.10.* +cabal-version: 1.14 +name: HsYAML +version: 0.2.1.0 +x-revision: 2 + +synopsis: Pure Haskell YAML 1.2 processor +homepage: https://github.com/hvr/HsYAML +bug-reports: https://github.com/hvr/HsYAML/issues +license: GPL-2 +X-SPDX-License-Identifier: GPL-2.0-or-later +license-files: LICENSE.GPLv2 LICENSE.GPLv3 +author: Herbert Valerio Riedel +maintainer: hvr@gnu.org +copyright: 2015-2018 Herbert Valerio Riedel + , 2007-2008 Oren Ben-Kiki +category: Text +build-type: Simple +tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 + +description: + @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. + + . + Features of @HsYAML@ include: + . + * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). + * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). + * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. + * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). + * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). + * Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). + * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). + * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). + . + See also the package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. + +extra-source-files: + ChangeLog.md + +source-repository head + type: git + location: https://github.com/hvr/HsYAML.git + +flag exe + description: Enable @exe:yaml-test@ component + manual: True + default: False + +library + hs-source-dirs: src + exposed-modules: Data.YAML + , Data.YAML.Schema + , Data.YAML.Event + , Data.YAML.Token + other-modules: Data.YAML.Loader + , Data.YAML.Dumper + , Data.YAML.Internal + , Data.YAML.Event.Internal + , Data.YAML.Event.Writer + , Data.YAML.Pos + , Data.YAML.Schema.Internal + , Data.YAML.Token.Encoding + , Util + , Data.DList + + default-language: Haskell2010 + other-extensions: DeriveGeneric + FlexibleContexts + FlexibleInstances + FunctionalDependencies + MultiParamTypeClasses + OverloadedStrings + PostfixOperators + RecordWildCards + RecursiveDo + Safe + ScopedTypeVariables + Trustworthy + TypeSynonymInstances + + build-depends: base >=4.5 && <4.16 + , bytestring >=0.9 && <0.12 + , containers >=0.4.2 && <0.7 + , deepseq >=1.3.0 && <1.5 + , text >=1.2.3 && <1.3 + , mtl >=2.2.1 && <2.3 + , parsec >=3.1.13.0 && < 3.2 + + -- for GHC.Generics + if impl(ghc < 7.6) + build-depends: ghc-prim + + if !impl(ghc >= 8.0) + build-depends: fail >=4.9.0.0 && <4.10 + + if !impl(ghc >= 7.10) + build-depends: nats >=1.1.2 && <1.2 + + ghc-options: -Wall + +executable yaml-test + hs-source-dirs: src-test + main-is: Main.hs + other-modules: TML + + default-language: Haskell2010 + + if flag(exe) + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , megaparsec >= 6.5.0 && < 6.6 + , microaeson == 0.1.* + , filepath == 1.4.* + , directory >= 1.2 && < 1.4 + else + buildable: False + + ghc-options: -rtsopts + +test-suite tests + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Tests.hs + + ghc-options: -rtsopts + + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , QuickCheck == 2.13.* + , tasty == 1.2.* + , tasty-quickcheck == 0.10.* diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 2586156..a80ab2b 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -98,6 +98,7 @@ This package provides the Haskell %{pkg_name} profiling library. cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup cabal-tweak-dep-ver QuickCheck '2.13.*' '2.14.*' +cabal-tweak-dep-ver tasty '== 1.2.*' '>= 1.2' %build From 2af8724fcda822492a38a4b8c6c152cb76cf2acf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 10:16:30 +0800 Subject: [PATCH 10/13] bump release --- ghc-HsYAML.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index a80ab2b..868c9f7 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ @@ -143,6 +143,9 @@ cabal-tweak-dep-ver tasty '== 1.2.*' '>= 1.2' %changelog +* Fri Aug 06 2021 Jens Petersen - 0.2.1.0-5 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From a5c94bc091f1b37b7e135abb465f212389471cb0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:24:54 +0000 Subject: [PATCH 11/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HsYAML.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 868c9f7..bee6c28 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.2.1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Pure Haskell YAML 1.2 processor License: GPLv2+ @@ -143,6 +143,9 @@ cabal-tweak-dep-ver tasty '== 1.2.*' '>= 1.2' %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.2.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 0.2.1.0-5 - rebuild From 4a41190d2880972390d941ca533a571c728c3949 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 16:20:49 +0800 Subject: [PATCH 12/13] update revision --- HsYAML-0.2.1.0.cabal | 300 ++++++++++++++++++++++--------------------- ghc-HsYAML.spec | 4 +- 2 files changed, 157 insertions(+), 147 deletions(-) diff --git a/HsYAML-0.2.1.0.cabal b/HsYAML-0.2.1.0.cabal index ff7bea5..094e0b8 100644 --- a/HsYAML-0.2.1.0.cabal +++ b/HsYAML-0.2.1.0.cabal @@ -1,144 +1,156 @@ -cabal-version: 1.14 -name: HsYAML -version: 0.2.1.0 -x-revision: 2 - -synopsis: Pure Haskell YAML 1.2 processor -homepage: https://github.com/hvr/HsYAML -bug-reports: https://github.com/hvr/HsYAML/issues -license: GPL-2 -X-SPDX-License-Identifier: GPL-2.0-or-later -license-files: LICENSE.GPLv2 LICENSE.GPLv3 -author: Herbert Valerio Riedel -maintainer: hvr@gnu.org -copyright: 2015-2018 Herbert Valerio Riedel - , 2007-2008 Oren Ben-Kiki -category: Text -build-type: Simple -tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 - -description: - @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. - - . - Features of @HsYAML@ include: - . - * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). - * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). - * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. - * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). - * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). - * Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). - * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). - * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). - . - See also the package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. - -extra-source-files: - ChangeLog.md - -source-repository head - type: git - location: https://github.com/hvr/HsYAML.git - -flag exe - description: Enable @exe:yaml-test@ component - manual: True - default: False - -library - hs-source-dirs: src - exposed-modules: Data.YAML - , Data.YAML.Schema - , Data.YAML.Event - , Data.YAML.Token - other-modules: Data.YAML.Loader - , Data.YAML.Dumper - , Data.YAML.Internal - , Data.YAML.Event.Internal - , Data.YAML.Event.Writer - , Data.YAML.Pos - , Data.YAML.Schema.Internal - , Data.YAML.Token.Encoding - , Util - , Data.DList - - default-language: Haskell2010 - other-extensions: DeriveGeneric - FlexibleContexts - FlexibleInstances - FunctionalDependencies - MultiParamTypeClasses - OverloadedStrings - PostfixOperators - RecordWildCards - RecursiveDo - Safe - ScopedTypeVariables - Trustworthy - TypeSynonymInstances - - build-depends: base >=4.5 && <4.16 - , bytestring >=0.9 && <0.12 - , containers >=0.4.2 && <0.7 - , deepseq >=1.3.0 && <1.5 - , text >=1.2.3 && <1.3 - , mtl >=2.2.1 && <2.3 - , parsec >=3.1.13.0 && < 3.2 - - -- for GHC.Generics - if impl(ghc < 7.6) - build-depends: ghc-prim - - if !impl(ghc >= 8.0) - build-depends: fail >=4.9.0.0 && <4.10 - - if !impl(ghc >= 7.10) - build-depends: nats >=1.1.2 && <1.2 - - ghc-options: -Wall - -executable yaml-test - hs-source-dirs: src-test - main-is: Main.hs - other-modules: TML - - default-language: Haskell2010 - - if flag(exe) - build-depends: HsYAML - -- inherited constraints - , bytestring >= 0.10.8.0 - , base - , text - , containers - , mtl - -- non-inherited - , megaparsec >= 6.5.0 && < 6.6 - , microaeson == 0.1.* - , filepath == 1.4.* - , directory >= 1.2 && < 1.4 - else - buildable: False - - ghc-options: -rtsopts - -test-suite tests - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Tests.hs - - ghc-options: -rtsopts - - build-depends: HsYAML - -- inherited constraints - , bytestring >= 0.10.8.0 - , base - , text - , containers - , mtl - -- non-inherited - , QuickCheck == 2.13.* - , tasty == 1.2.* - , tasty-quickcheck == 0.10.* +cabal-version: 1.14 +name: HsYAML +version: 0.2.1.0 +x-revision: 4 + +synopsis: Pure Haskell YAML 1.2 processor +homepage: https://github.com/hvr/HsYAML +bug-reports: https://github.com/hvr/HsYAML/issues +license: GPL-2 +X-SPDX-License-Identifier: GPL-2.0-or-later +license-files: LICENSE.GPLv2 LICENSE.GPLv3 +author: Herbert Valerio Riedel +maintainer: hvr@gnu.org +copyright: 2015-2018 Herbert Valerio Riedel + , 2007-2008 Oren Ben-Kiki +category: Text +build-type: Simple +tested-with: + GHC == 9.2.1 + GHC == 9.0.1 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + GHC == 7.10.3 + GHC == 7.8.4 + GHC == 7.6.3 + GHC == 7.4.2 + +description: + @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. + + . + Features of @HsYAML@ include: + . + * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). + * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). + * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. + * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). + * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). + * Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). + * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). + * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). + . + See also the package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. + +extra-source-files: + ChangeLog.md + +source-repository head + type: git + location: https://github.com/hvr/HsYAML.git + +flag exe + description: Enable @exe:yaml-test@ component + manual: True + default: False + +library + hs-source-dirs: src + exposed-modules: Data.YAML + , Data.YAML.Schema + , Data.YAML.Event + , Data.YAML.Token + other-modules: Data.YAML.Loader + , Data.YAML.Dumper + , Data.YAML.Internal + , Data.YAML.Event.Internal + , Data.YAML.Event.Writer + , Data.YAML.Pos + , Data.YAML.Schema.Internal + , Data.YAML.Token.Encoding + , Util + , Data.DList + + default-language: Haskell2010 + other-extensions: DeriveGeneric + FlexibleContexts + FlexibleInstances + FunctionalDependencies + MultiParamTypeClasses + OverloadedStrings + PostfixOperators + RecordWildCards + RecursiveDo + Safe + ScopedTypeVariables + Trustworthy + TypeSynonymInstances + + build-depends: base >=4.5 && <4.17 + , bytestring >=0.9 && <0.12 + , containers >=0.4.2 && <0.7 + , deepseq >=1.3.0 && <1.5 + , text >=1.2.3 && <2.1 + , mtl >=2.2.1 && <2.3 + , parsec >=3.1.13.0 && < 3.2 + + -- for GHC.Generics + if impl(ghc < 7.6) + build-depends: ghc-prim + + if !impl(ghc >= 8.0) + build-depends: fail >=4.9.0.0 && <4.10 + + if !impl(ghc >= 7.10) + build-depends: nats >=1.1.2 && <1.2 + + ghc-options: -Wall + +executable yaml-test + hs-source-dirs: src-test + main-is: Main.hs + other-modules: TML + + default-language: Haskell2010 + + if flag(exe) + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , megaparsec >= 7.0 && < 10 + , microaeson == 0.1.* + , filepath == 1.4.* + , directory >= 1.2 && < 1.4 + else + buildable: False + + ghc-options: -rtsopts + +test-suite tests + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Tests.hs + + ghc-options: -rtsopts + + build-depends: HsYAML + -- inherited constraints + , bytestring >= 0.10.8.0 + , base + , text + , containers + , mtl + -- non-inherited + , QuickCheck == 2.14.* + , tasty == 1.4.* + , tasty-quickcheck == 0.10.* diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index bee6c28..60c84fc 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.0.12 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name HsYAML @@ -97,8 +97,6 @@ This package provides the Haskell %{pkg_name} profiling library. %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup -cabal-tweak-dep-ver QuickCheck '2.13.*' '2.14.*' -cabal-tweak-dep-ver tasty '== 1.2.*' '>= 1.2' %build From c41f6f1bd752cf0182716a3a46389bbb13f6ffc9 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:15:15 +0300 Subject: [PATCH 13/13] Remove unnecessary files --- README.md | 3 --- sources | 1 - 2 files changed, 4 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index 0e1e69f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-HsYAML - -The ghc-HsYAML package \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index af07ce1..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (HsYAML-0.2.1.0.tar.gz) = f8ad41a99e48183835093ad8bf6a3fbdf4b9ad9df3bea46b12efd55a9555c22bd2595c72b1ac2e73379ab47e21f6cbf9022412db8971e1c7c02a32e824f53304