diff --git a/python-xmltodict.changes b/python-xmltodict.changes index b1a9c94..1e5c20f 100644 --- a/python-xmltodict.changes +++ b/python-xmltodict.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Sep 6 07:25:55 UTC 2016 - mardnh@gmx.de + +- update to version 0.10.2 + + Fixed defusedexpat expat import. +- v0.10.1 + + Use defusedexpat if available. + + Allow non-string attributes in unparse. + + Add postprocessor support for attributes. + + Make command line interface Python 3-compatible. +- v0.10.0 + + Add force_list feature. + + Add support for Python 3.4 and 3.5. + + Performance optimization: use list instead of string for CDATA. + + Include Arch Linux package instructions in README. + + Improved documentation. + + Allow any iterable in unparse, not just lists. + + Bugfix: Process namespaces in attributes too. + + Better testing under Python 2.6. +- v0.9.2 + + Fix multiroot check for list values +- v0.9.1 + + Only check single root when full_document=True + ------------------------------------------------------------------- Thu Nov 27 14:46:28 UTC 2014 - boris@steki.net diff --git a/python-xmltodict.spec b/python-xmltodict.spec index 87f2f94..3b4c3e6 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -1,7 +1,7 @@ # # spec file for package python-xmltodict # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,22 @@ # +%define use_build_checks 1 + Name: python-xmltodict -Version: 0.9.0 +Version: 0.10.2 Release: 0 Summary: Makes working with XML feel like you are working with JSON License: MIT Group: Development/Languages/Python Url: https://github.com/martinblech/xmltodict -Source: https://pypi.python.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz +Source: https://pypi.io/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools +%if 0%{?use_build_checks} +BuildRequires: python-coverage +BuildRequires: python-nose +%endif %if 0%{?suse_version} BuildRequires: python-xml %endif @@ -41,7 +47,6 @@ xmltodict is a Python module that makes working with XML feel like you are working with json, as in this http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html - %prep %setup -q -n xmltodict-%{version} @@ -51,9 +56,15 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +%if 0%{?use_build_checks} +nosetests -v +%endif + %files %defattr(-,root,root,-) %doc README.md LICENSE -%{python_sitelib}/* +%{python_sitelib}/xmltodict* +%{python_sitelib}/xmltodict-%{version}-py%{py_ver}.egg-info %changelog diff --git a/xmltodict-0.10.2.tar.gz b/xmltodict-0.10.2.tar.gz new file mode 100644 index 0000000..d6db69d --- /dev/null +++ b/xmltodict-0.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc518ccf9adbbb917a2ddcb386be852ae6dd36935e1e8b9a3e760201abfdbf77 +size 24854 diff --git a/xmltodict-0.9.0.tar.gz b/xmltodict-0.9.0.tar.gz deleted file mode 100644 index b17f647..0000000 --- a/xmltodict-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc506d660e1d231efa9b766f88cec2ced05394ce94adabddf7b149da7712e719 -size 37078