From b3eee73295cb0758f4f051a1ad9d6866bef19f8de585909ea999a2e159327303 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 2 Feb 2023 13:42:06 +0000 Subject: [PATCH 1/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pretty-simple revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=11 --- ghc-pretty-simple.changes | 43 ++++++++++++++++++++++++++++++++++++ ghc-pretty-simple.spec | 8 +++++-- pretty-simple-4.0.0.0.tar.gz | 3 --- pretty-simple-4.1.2.0.tar.gz | 3 +++ 4 files changed, 52 insertions(+), 5 deletions(-) delete mode 100644 pretty-simple-4.0.0.0.tar.gz create mode 100644 pretty-simple-4.1.2.0.tar.gz diff --git a/ghc-pretty-simple.changes b/ghc-pretty-simple.changes index 085077f..9672768 100644 --- a/ghc-pretty-simple.changes +++ b/ghc-pretty-simple.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sat Oct 15 22:17:49 UTC 2022 - Peter Simons + +- Update pretty-simple to version 4.1.2.0. + ## 4.1.2.0 + + * Fix a problem with the `pHPrint` function incorrectly + outputting a trailing newline to stdout, instead of the + handle you pass it. + [#118](https://github.com/cdepillabout/pretty-simple/pull/118) + * Add a [web app](https://cdepillabout.github.io/pretty-simple/) where you + can play around with `pretty-simple` in your browser. + [#116](https://github.com/cdepillabout/pretty-simple/pull/116). + This took a lot of hard work by [@georgefst](https://github.com/georgefst)! + + ## 4.1.1.0 + + * Make the pretty-printed output with `outputOptionsCompact` enabled a little + more compact. + [#110](https://github.com/cdepillabout/pretty-simple/pull/110). + Thanks [@juhp](https://github.com/juhp)! + * Add a `--compact` / `-C` flag to the `pretty-simple` executable that enables + `outputOptionsCompact`. + [#111](https://github.com/cdepillabout/pretty-simple/pull/111). + Thanks again @juhp! + * Add `pTraceWith` and `pTraceShowWith` to `Debug.Pretty.Simple`. + [#104](https://github.com/cdepillabout/pretty-simple/pull/104). + Thanks [@LeviButcher](https://github.com/LeviButcher)! + + ## 4.1.0.0 + + * Fix a regression which arose in 4.0, whereby excess spaces would be inserted for unusual strings like dates and IP addresses. + [#105](https://github.com/cdepillabout/pretty-simple/pull/105) + * Attach warnings to debugging functions, so that they're easy to find and remove. + [#103](https://github.com/cdepillabout/pretty-simple/pull/103) + * Some minor improvements to the CLI tool: + * Add a `--version`/`-v` flag. + [#83](https://github.com/cdepillabout/pretty-simple/pull/83) + * Add a trailing newline. + [#87](https://github.com/cdepillabout/pretty-simple/pull/87) + * Install by default, without requiring a flag. + [#94](https://github.com/cdepillabout/pretty-simple/pull/94) + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec index 786458d..78b27e4 100644 --- a/ghc-pretty-simple.spec +++ b/ghc-pretty-simple.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-pretty-simple # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,16 +19,18 @@ %global pkg_name pretty-simple %bcond_with tests Name: ghc-%{pkg_name} -Version: 4.0.0.0 +Version: 4.1.2.0 Release: 0 Summary: Pretty printer for data types with a 'Show' instance License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-mtl-devel +BuildRequires: ghc-optparse-applicative-devel BuildRequires: ghc-prettyprinter-ansi-terminal-devel BuildRequires: ghc-prettyprinter-devel BuildRequires: ghc-rpm-macros @@ -63,6 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test @@ -75,6 +78,7 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files %license LICENSE +%{_bindir}/%{pkg_name} %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md diff --git a/pretty-simple-4.0.0.0.tar.gz b/pretty-simple-4.0.0.0.tar.gz deleted file mode 100644 index a72882a..0000000 --- a/pretty-simple-4.0.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb -size 39887 diff --git a/pretty-simple-4.1.2.0.tar.gz b/pretty-simple-4.1.2.0.tar.gz new file mode 100644 index 0000000..e2f5349 --- /dev/null +++ b/pretty-simple-4.1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cb47c3971599cb8c0330e1a2dbd63c67bfbe570bd879524ee802e81e7b02736 +size 40519 From 27db55e10b4898e92c5f1767e83b32fb5efcb4dd184b1d24831528ec042279c5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 3 Feb 2023 09:19:03 +0000 Subject: [PATCH 2/5] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-pretty-simple revision:17, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=12 --- ghc-pretty-simple.changes | 43 ------------------------------------ ghc-pretty-simple.spec | 8 ++----- pretty-simple-4.0.0.0.tar.gz | 3 +++ pretty-simple-4.1.2.0.tar.gz | 3 --- 4 files changed, 5 insertions(+), 52 deletions(-) create mode 100644 pretty-simple-4.0.0.0.tar.gz delete mode 100644 pretty-simple-4.1.2.0.tar.gz diff --git a/ghc-pretty-simple.changes b/ghc-pretty-simple.changes index 9672768..085077f 100644 --- a/ghc-pretty-simple.changes +++ b/ghc-pretty-simple.changes @@ -1,46 +1,3 @@ -------------------------------------------------------------------- -Sat Oct 15 22:17:49 UTC 2022 - Peter Simons - -- Update pretty-simple to version 4.1.2.0. - ## 4.1.2.0 - - * Fix a problem with the `pHPrint` function incorrectly - outputting a trailing newline to stdout, instead of the - handle you pass it. - [#118](https://github.com/cdepillabout/pretty-simple/pull/118) - * Add a [web app](https://cdepillabout.github.io/pretty-simple/) where you - can play around with `pretty-simple` in your browser. - [#116](https://github.com/cdepillabout/pretty-simple/pull/116). - This took a lot of hard work by [@georgefst](https://github.com/georgefst)! - - ## 4.1.1.0 - - * Make the pretty-printed output with `outputOptionsCompact` enabled a little - more compact. - [#110](https://github.com/cdepillabout/pretty-simple/pull/110). - Thanks [@juhp](https://github.com/juhp)! - * Add a `--compact` / `-C` flag to the `pretty-simple` executable that enables - `outputOptionsCompact`. - [#111](https://github.com/cdepillabout/pretty-simple/pull/111). - Thanks again @juhp! - * Add `pTraceWith` and `pTraceShowWith` to `Debug.Pretty.Simple`. - [#104](https://github.com/cdepillabout/pretty-simple/pull/104). - Thanks [@LeviButcher](https://github.com/LeviButcher)! - - ## 4.1.0.0 - - * Fix a regression which arose in 4.0, whereby excess spaces would be inserted for unusual strings like dates and IP addresses. - [#105](https://github.com/cdepillabout/pretty-simple/pull/105) - * Attach warnings to debugging functions, so that they're easy to find and remove. - [#103](https://github.com/cdepillabout/pretty-simple/pull/103) - * Some minor improvements to the CLI tool: - * Add a `--version`/`-v` flag. - [#83](https://github.com/cdepillabout/pretty-simple/pull/83) - * Add a trailing newline. - [#87](https://github.com/cdepillabout/pretty-simple/pull/87) - * Install by default, without requiring a flag. - [#94](https://github.com/cdepillabout/pretty-simple/pull/94) - ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec index 78b27e4..786458d 100644 --- a/ghc-pretty-simple.spec +++ b/ghc-pretty-simple.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-pretty-simple # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,16 @@ %global pkg_name pretty-simple %bcond_with tests Name: ghc-%{pkg_name} -Version: 4.1.2.0 +Version: 4.0.0.0 Release: 0 Summary: Pretty printer for data types with a 'Show' instance License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-mtl-devel -BuildRequires: ghc-optparse-applicative-devel BuildRequires: ghc-prettyprinter-ansi-terminal-devel BuildRequires: ghc-prettyprinter-devel BuildRequires: ghc-rpm-macros @@ -65,7 +63,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test @@ -78,7 +75,6 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files %license LICENSE -%{_bindir}/%{pkg_name} %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md diff --git a/pretty-simple-4.0.0.0.tar.gz b/pretty-simple-4.0.0.0.tar.gz new file mode 100644 index 0000000..a72882a --- /dev/null +++ b/pretty-simple-4.0.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb +size 39887 diff --git a/pretty-simple-4.1.2.0.tar.gz b/pretty-simple-4.1.2.0.tar.gz deleted file mode 100644 index e2f5349..0000000 --- a/pretty-simple-4.1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3cb47c3971599cb8c0330e1a2dbd63c67bfbe570bd879524ee802e81e7b02736 -size 40519 From 8e2437baef5a979ca53eb44153ae540976d83f9b067109b74a8748a4c65bad27 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:47 +0000 Subject: [PATCH 3/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pretty-simple revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=13 --- ghc-pretty-simple.changes | 43 ++++++++++++++++++++++++++++++++++ ghc-pretty-simple.spec | 45 ++++++++++++++++++++++++++++++++++-- pretty-simple-4.0.0.0.tar.gz | 3 --- pretty-simple-4.1.2.0.tar.gz | 3 +++ 4 files changed, 89 insertions(+), 5 deletions(-) delete mode 100644 pretty-simple-4.0.0.0.tar.gz create mode 100644 pretty-simple-4.1.2.0.tar.gz diff --git a/ghc-pretty-simple.changes b/ghc-pretty-simple.changes index 085077f..9672768 100644 --- a/ghc-pretty-simple.changes +++ b/ghc-pretty-simple.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sat Oct 15 22:17:49 UTC 2022 - Peter Simons + +- Update pretty-simple to version 4.1.2.0. + ## 4.1.2.0 + + * Fix a problem with the `pHPrint` function incorrectly + outputting a trailing newline to stdout, instead of the + handle you pass it. + [#118](https://github.com/cdepillabout/pretty-simple/pull/118) + * Add a [web app](https://cdepillabout.github.io/pretty-simple/) where you + can play around with `pretty-simple` in your browser. + [#116](https://github.com/cdepillabout/pretty-simple/pull/116). + This took a lot of hard work by [@georgefst](https://github.com/georgefst)! + + ## 4.1.1.0 + + * Make the pretty-printed output with `outputOptionsCompact` enabled a little + more compact. + [#110](https://github.com/cdepillabout/pretty-simple/pull/110). + Thanks [@juhp](https://github.com/juhp)! + * Add a `--compact` / `-C` flag to the `pretty-simple` executable that enables + `outputOptionsCompact`. + [#111](https://github.com/cdepillabout/pretty-simple/pull/111). + Thanks again @juhp! + * Add `pTraceWith` and `pTraceShowWith` to `Debug.Pretty.Simple`. + [#104](https://github.com/cdepillabout/pretty-simple/pull/104). + Thanks [@LeviButcher](https://github.com/LeviButcher)! + + ## 4.1.0.0 + + * Fix a regression which arose in 4.0, whereby excess spaces would be inserted for unusual strings like dates and IP addresses. + [#105](https://github.com/cdepillabout/pretty-simple/pull/105) + * Attach warnings to debugging functions, so that they're easy to find and remove. + [#103](https://github.com/cdepillabout/pretty-simple/pull/103) + * Some minor improvements to the CLI tool: + * Add a `--version`/`-v` flag. + [#83](https://github.com/cdepillabout/pretty-simple/pull/83) + * Add a trailing newline. + [#87](https://github.com/cdepillabout/pretty-simple/pull/87) + * Install by default, without requiring a flag. + [#94](https://github.com/cdepillabout/pretty-simple/pull/94) + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec index 786458d..a4afc07 100644 --- a/ghc-pretty-simple.spec +++ b/ghc-pretty-simple.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-pretty-simple # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,29 +17,47 @@ %global pkg_name pretty-simple +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 4.0.0.0 +Version: 4.1.2.0 Release: 0 Summary: Pretty printer for data types with a 'Show' instance License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: chrpath BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-Cabal-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-cabal-doctest-devel +BuildRequires: ghc-cabal-doctest-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-optparse-applicative-prof BuildRequires: ghc-prettyprinter-ansi-terminal-devel +BuildRequires: ghc-prettyprinter-ansi-terminal-prof BuildRequires: ghc-prettyprinter-devel +BuildRequires: ghc-prettyprinter-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-Glob-devel +BuildRequires: ghc-Glob-prof BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-doctest-devel +BuildRequires: ghc-doctest-prof BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof %endif %description @@ -55,6 +73,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} @@ -63,6 +97,7 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test @@ -75,8 +110,14 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files %license LICENSE +%{_bindir}/%{pkg_name} %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog diff --git a/pretty-simple-4.0.0.0.tar.gz b/pretty-simple-4.0.0.0.tar.gz deleted file mode 100644 index a72882a..0000000 --- a/pretty-simple-4.0.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb -size 39887 diff --git a/pretty-simple-4.1.2.0.tar.gz b/pretty-simple-4.1.2.0.tar.gz new file mode 100644 index 0000000..e2f5349 --- /dev/null +++ b/pretty-simple-4.1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cb47c3971599cb8c0330e1a2dbd63c67bfbe570bd879524ee802e81e7b02736 +size 40519 From e37d8e11d20e04903cfbface2fd6676a402a9fd3a288891f4989a83cb2b5d329 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:48 +0000 Subject: [PATCH 4/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pretty-simple revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=14 --- ghc-pretty-simple.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-pretty-simple.changes b/ghc-pretty-simple.changes index 9672768..629bcd5 100644 --- a/ghc-pretty-simple.changes +++ b/ghc-pretty-simple.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:57 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Sat Oct 15 22:17:49 UTC 2022 - Peter Simons From 1e85d6f462db73012d361ddec97d26c777e3b0aef38772a6602e345a47516364 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:45 +0000 Subject: [PATCH 5/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pretty-simple revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=15 --- ghc-pretty-simple.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec index a4afc07..8d5706a 100644 --- a/ghc-pretty-simple.spec +++ b/ghc-pretty-simple.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-pretty-simple # -# 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