From 4aae833157a79a3225864700a51cd357b711114856cbb05acf4b3ccf2e27b993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 17 Aug 2021 09:54:13 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-doctemplates revision:16, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-doctemplates?expand=0&rev=45 --- doctemplates-0.10.tar.gz | 3 +++ doctemplates-0.9.tar.gz | 3 --- ghc-doctemplates.changes | 17 +++++++++++++++++ ghc-doctemplates.spec | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 doctemplates-0.10.tar.gz delete mode 100644 doctemplates-0.9.tar.gz diff --git a/doctemplates-0.10.tar.gz b/doctemplates-0.10.tar.gz new file mode 100644 index 0000000..0022802 --- /dev/null +++ b/doctemplates-0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d57ebd963bbd9dc13e22d54707c6d74c24ac1d113454d5c5d0b76dc02d88adb +size 27753 diff --git a/doctemplates-0.9.tar.gz b/doctemplates-0.9.tar.gz deleted file mode 100644 index 8a47c1c..0000000 --- a/doctemplates-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da262ec09d0689c27a79589d2abecb03609ef3925a4dde3b70012682d4441011 -size 27366 diff --git a/ghc-doctemplates.changes b/ghc-doctemplates.changes index 05fcddc..0245d01 100644 --- a/ghc-doctemplates.changes +++ b/ghc-doctemplates.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Jul 19 07:05:18 UTC 2021 - psimons@suse.com + +- Update doctemplates to version 0.10. + ## 0.10 + + * Change rendering and conditional behavior with booleans. + Previously, `$if(foo)$` evaluated to false iff `foo` + would render as the empty string. This forced us to render + a boolean False value as an empty string, rather than `false`. + And this has caused various problems with templates + (#16, jgm/pandoc#7402). Now, boolean False values render as + `false` -- just as True values render as `true`. And conditionals + are now sensitive to booleans, so `$if(foo)$` evaluates to false + when `foo` is a boolean False value, even though it would render + as the nonempty string `false`. + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-doctemplates.spec b/ghc-doctemplates.spec index 7b7b8cd..d6bb426 100644 --- a/ghc-doctemplates.spec +++ b/ghc-doctemplates.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-doctemplates # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name doctemplates %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.9 +Version: 0.10 Release: 0 Summary: Pandoc-style document templates License: BSD-3-Clause