forked from pool/python-xmlschema
- 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
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user