From 87b60201d43dd6d9d020cf9e187fba768a88eea176cea28bb925e3f67b9feb4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:01 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-doctemplates revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-doctemplates?expand=0&rev=41 --- doctemplates-0.8.3.tar.gz | 3 --- doctemplates-0.9.tar.gz | 3 +++ ghc-doctemplates.changes | 21 +++++++++++++++++++++ ghc-doctemplates.spec | 8 +++++++- 4 files changed, 31 insertions(+), 4 deletions(-) delete mode 100644 doctemplates-0.8.3.tar.gz create mode 100644 doctemplates-0.9.tar.gz diff --git a/doctemplates-0.8.3.tar.gz b/doctemplates-0.8.3.tar.gz deleted file mode 100644 index 58803dc..0000000 --- a/doctemplates-0.8.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edbafd7e94da3cba39e79ba1596c2e8efb745bea0792b0e7c756fbe08467ff5f -size 27191 diff --git a/doctemplates-0.9.tar.gz b/doctemplates-0.9.tar.gz new file mode 100644 index 0000000..8a47c1c --- /dev/null +++ b/doctemplates-0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da262ec09d0689c27a79589d2abecb03609ef3925a4dde3b70012682d4441011 +size 27366 diff --git a/ghc-doctemplates.changes b/ghc-doctemplates.changes index 462cbc0..0b35eea 100644 --- a/ghc-doctemplates.changes +++ b/ghc-doctemplates.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + +------------------------------------------------------------------- +Thu Dec 17 10:46:40 UTC 2020 - psimons@suse.com + +- Update doctemplates to version 0.9. + ## 0.9 + + * Add BoolVal constructor to Val. This gives a smoother + interface with JSON and YAML. [API change] + + * Remove overlapping instances by generalizing + `ToContext String String` and `FromContext String String` + to `TemplateTarget [a] => ToContext [a] [a]` and + `TemplateTarget [a] => FromContext [a] [a]`. + Remove the instance `ToContext String (Doc String)`. + Remove redundant constraints. (#9, favonia) [API change] + ------------------------------------------------------------------- Tue Dec 1 08:09:40 UTC 2020 - psimons@suse.com diff --git a/ghc-doctemplates.spec b/ghc-doctemplates.spec index 5651942..d6ec9cf 100644 --- a/ghc-doctemplates.spec +++ b/ghc-doctemplates.spec @@ -19,7 +19,7 @@ %global pkg_name doctemplates %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.3 +Version: 0.9 Release: 0 Summary: Pandoc-style document templates License: BSD-3-Clause @@ -40,6 +40,12 @@ BuildRequires: ghc-text-conversions-devel BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel +# GHC dont support i586 +%ifarch %{ix86} +ExclusiveArch: i586 i686 +ExclusiveArch: i686 +%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic} +%endif %if %{with tests} BuildRequires: ghc-Glob-devel BuildRequires: ghc-bytestring-devel