diff --git a/HsYAML.cabal b/HsYAML.cabal index 253f50c..395c636 100644 --- a/HsYAML.cabal +++ b/HsYAML.cabal @@ -1,7 +1,7 @@ cabal-version: 1.14 name: HsYAML version: 0.2.1.1 -x-revision: 1 +x-revision: 2 synopsis: Pure Haskell YAML 1.2 processor homepage: https://github.com/haskell-hvr/HsYAML @@ -16,7 +16,9 @@ copyright: 2015-2018 Herbert Valerio Riedel category: Text build-type: Simple tested-with: - GHC == 9.2.2 + GHC == 9.6.0 + GHC == 9.4.4 + GHC == 9.2.6 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 @@ -90,7 +92,7 @@ library Trustworthy TypeSynonymInstances - build-depends: base >= 4.5 && < 4.18 + build-depends: base >= 4.5 && < 4.19 , bytestring >= 0.9 && < 0.12 , containers >= 0.4.2 && < 0.7 , deepseq >= 1.3.0 && < 1.5 diff --git a/ghc-HsYAML.changes b/ghc-HsYAML.changes index f46c02e..1dcf0fa 100644 --- a/ghc-HsYAML.changes +++ b/ghc-HsYAML.changes @@ -1,112 +1,10 @@ ------------------------------------------------------------------- -Tue Aug 9 18:54:43 UTC 2022 - Peter Simons +Thu Mar 30 17:07:07 UTC 2023 - Peter Simons -- Update HsYAML to version 0.2.1.1 revision 1. - Upstream has revised the Cabal build instructions on Hackage. +- Updated spec file to conform with ghc-rpm-macros-2.5.2. ------------------------------------------------------------------- -Wed May 11 07:28:44 UTC 2022 - Peter Simons +Sat Feb 25 11:26:38 UTC 2023 - Peter Simons -- Update HsYAML to version 0.2.1.1. - ### 0.2.1.1 +- Add HsYAML at version 0.2.1.1 revision 2. - _2022-05-11_ - - * Compatibility with `mtl-2.3` - * Tested with GHC 7.4 - 9.2 - -------------------------------------------------------------------- -Sun Dec 26 17:52:12 UTC 2021 - Peter Simons - -- Update HsYAML to version 0.2.1.0 revision 4. - Upstream has revised the Cabal build instructions on Hackage. - -------------------------------------------------------------------- -Mon Nov 8 16:30:36 UTC 2021 - psimons@suse.com - -- Update HsYAML to version 0.2.1.0 revision 3. - Upstream has revised the Cabal build instructions on Hackage. - -------------------------------------------------------------------- -Thu Mar 11 17:56:50 UTC 2021 - psimons@suse.com - -- Update HsYAML to version 0.2.1.0 revision 2. - Upstream has revised the Cabal build instructions on Hackage. - -------------------------------------------------------------------- -Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup - -- disable %{ix86} build - -------------------------------------------------------------------- -Mon Aug 31 09:34:32 UTC 2020 - psimons@suse.com - -- Update HsYAML to version 0.2.1.0 revision 1. - Upstream has revised the Cabal build instructions on Hackage. - -------------------------------------------------------------------- -Tue Aug 18 10:43:47 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - -------------------------------------------------------------------- -Tue Jun 16 11:13:36 UTC 2020 - Peter Simons - -- Re-generate file with latest version of spec-cleaner. - -------------------------------------------------------------------- -Thu May 7 08:08:21 UTC 2020 - Peter Simons - -- Update Cabal file to get more accurate dependency information. - -------------------------------------------------------------------- -Mon Dec 23 17:45:49 UTC 2019 - psimons@suse.com - -- Update HsYAML to version 0.2.1.0. - Upstream has edited the change log file since the last release in - a non-trivial way, i.e. they did more than just add a new entry - at the top. You can review the file at: - http://hackage.haskell.org/package/HsYAML-0.2.1.0/src/ChangeLog.md - -------------------------------------------------------------------- -Fri Nov 8 16:13:57 UTC 2019 - Peter Simons - -- Drop obsolete group attributes. - -------------------------------------------------------------------- -Sat May 18 02:01:59 UTC 2019 - psimons@suse.com - -- Update HsYAML to version 0.1.2.0. - - * Add convenience functions `decode1` and `decode1Strict` - expecting exactly one YAML document - ([#5](https://github.com/haskell-hvr/HsYAML/pull/5)) - - * Fix a couple corner-cases in the YAML tokenization - ([#10](https://github.com/haskell-hvr/HsYAML/pull/10)) - -------------------------------------------------------------------- -Thu Jan 3 03:00:56 UTC 2019 - psimons@suse.com - -- Update HsYAML to version 0.1.1.3. - - * Fix bug in float regexp being too lax in the JSON and Core - schema ([#7](https://github.com/hvr/HsYAML/issues/7)) - - * Remove dependency on `dlist` - -------------------------------------------------------------------- -Fri Oct 19 13:12:54 UTC 2018 - Peter Simons - -- Update Cabal build instructions to support ghc-8.6.1. - -------------------------------------------------------------------- -Wed Jul 18 14:26:10 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Tue Jul 17 19:30:48 UTC 2018 - psimons@suse.com - -- Add HsYAML at version 0.1.1.2. diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index e03acad..04c505e 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-HsYAML # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %global pkg_name HsYAML +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.2.1.1 @@ -25,21 +26,33 @@ Summary: Pure Haskell YAML 1.2 processor License: GPL-2.0-or-later URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof BuildRequires: ghc-parsec-devel +BuildRequires: ghc-parsec-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-prof BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof %endif %description @@ -78,6 +91,22 @@ Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep %autosetup -n %{pkg_name}-%{version} cp -p %{SOURCE1} %{pkg_name}.cabal @@ -104,4 +133,10 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %doc ChangeLog.md +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE.GPLv2 +%license LICENSE.GPLv3 + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog