From d6b177ac8dfe47593388fc7eb1889cc9089ed1c63b028f27684d9634f3abf7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 30 May 2021 18:58:14 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-citeproc revision:21, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=23 --- citeproc-0.3.0.9.tar.gz | 3 --- citeproc-0.4.tar.gz | 3 +++ ghc-citeproc.changes | 25 +++++++++++++++++++++++++ ghc-citeproc.spec | 4 ++-- 4 files changed, 30 insertions(+), 5 deletions(-) delete mode 100644 citeproc-0.3.0.9.tar.gz create mode 100644 citeproc-0.4.tar.gz diff --git a/citeproc-0.3.0.9.tar.gz b/citeproc-0.3.0.9.tar.gz deleted file mode 100644 index 3e2522c..0000000 --- a/citeproc-0.3.0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3aa95f2af14888a861288e511f63c86b3b09882d04d4e06d1dd71bbbac91c44f -size 572112 diff --git a/citeproc-0.4.tar.gz b/citeproc-0.4.tar.gz new file mode 100644 index 0000000..e67e296 --- /dev/null +++ b/citeproc-0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0c6472d69f2259ee7f42648e790967da062debef51ffb2f081ca80bb6ef4631 +size 573581 diff --git a/ghc-citeproc.changes b/ghc-citeproc.changes index 6e629de..8ea99ea 100644 --- a/ghc-citeproc.changes +++ b/ghc-citeproc.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu May 13 08:26:54 UTC 2021 - psimons@suse.com + +- Update citeproc to version 0.4. + ## 0.4 + + * We now use Lang from unicode-collation rather than defining our own. + The type constructor has changed, as has the signature of + parseLang. + * Use unicode-collation by default for more accurate sorting. + - text-icu will still be used if the icu flag is set. This may + give better performance, at the cost of depending on a large + C library. + - Change type of SortKeyValue so it doesn't embed Lang. [API change] + Instead, we now store a language-specific collator in the Eval Context. + - Move compSortKeyValues from Types to Eval. + * Add curly open quote to word splitters in normalizeSortKey. + * Improve date sorting: use the format YYYY0000 if no month, day, + and YYYYMM00 if no day when generating sort keys. + * Special treatment of literal "others" as last name in a list (#61). + When we convert bibtex/biblatex bibliographies, the form "and others" + yields a last name with nameLiteral = "others". We detect this and + generate a localized "and others" (et al). + * Make abbreviations case-insensitive (#45). + ------------------------------------------------------------------- Sun Mar 14 22:18:46 UTC 2021 - psimons@suse.com diff --git a/ghc-citeproc.spec b/ghc-citeproc.spec index cfc5347..5c59a53 100644 --- a/ghc-citeproc.spec +++ b/ghc-citeproc.spec @@ -19,7 +19,7 @@ %global pkg_name citeproc %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.0.9 +Version: 0.4 Release: 0 Summary: Generates citations and bibliography from CSL styles License: BSD-2-Clause @@ -35,12 +35,12 @@ BuildRequires: ghc-data-default-devel BuildRequires: ghc-file-embed-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-pandoc-types-devel -BuildRequires: ghc-rfc5051-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-safe-devel BuildRequires: ghc-scientific-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unicode-collation-devel BuildRequires: ghc-uniplate-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-xml-conduit-devel