From c0a1eb3809482a4c7e30647174488ac8046d1d338b59d3eec0fa3cb4952ac0b9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Apr 2021 19:44:31 +0000 Subject: [PATCH] - update to 1.5.2: * Improve empty content checking * Fix simple content restriction of xs:complexType * Fix facets retrieving for xs:complexType with simple content OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=28 --- python-xmlschema.changes | 8 ++++++++ python-xmlschema.spec | 6 +++--- xmlschema-1.5.1.tar.gz | 3 --- xmlschema-1.5.2.tar.gz | 3 +++ 4 files changed, 14 insertions(+), 6 deletions(-) delete mode 100644 xmlschema-1.5.1.tar.gz create mode 100644 xmlschema-1.5.2.tar.gz diff --git a/python-xmlschema.changes b/python-xmlschema.changes index 4c02c04..8bc09ac 100644 --- a/python-xmlschema.changes +++ b/python-xmlschema.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Apr 22 19:36:20 UTC 2021 - Dirk Müller + +- update to 1.5.2: + * Improve empty content checking + * Fix simple content restriction of xs:complexType + * Fix facets retrieving for xs:complexType with simple content + ------------------------------------------------------------------- Mon Mar 1 04:01:36 UTC 2021 - Steve Kowalik diff --git a/python-xmlschema.spec b/python-xmlschema.spec index d546dc8..46d52ce 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-xmlschema -Version: 1.5.1 +Version: 1.5.2 Release: 0 Summary: An XML Schema validator and decoder License: MIT @@ -38,7 +38,7 @@ BuildRequires: python-rpm-macros Requires: python-elementpath >= 2.1.2 Requires: python-lxml Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -64,7 +64,7 @@ export LANG="en_US.UTF8" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # Prepare for update-alternatives usage -for p in json2xml validate xml2json; do +for p in json2xml validate xml2json; do %python_clone -a %{buildroot}%{_bindir}/xmlschema-$p done diff --git a/xmlschema-1.5.1.tar.gz b/xmlschema-1.5.1.tar.gz deleted file mode 100644 index 952662d..0000000 --- a/xmlschema-1.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c4c72b457865f46394bb23525b4e233d6537d9e97b8c6144a6cda2d5ef0d6688 -size 349788 diff --git a/xmlschema-1.5.2.tar.gz b/xmlschema-1.5.2.tar.gz new file mode 100644 index 0000000..49b8164 --- /dev/null +++ b/xmlschema-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f821ce780f84c7e61ca1ccf32f23aec400446e74fa5cc888450af7604ce2291f +size 350754