Hello community, here is the log from the commit of package python-defusedxml for openSUSE:Factory checked in at 2017-05-03 15:55:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-defusedxml (Old) and /work/SRC/openSUSE:Factory/.python-defusedxml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-defusedxml" Wed May 3 15:55:12 2017 rev:3 rq:489490 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-defusedxml/python-defusedxml.changes 2017-02-03 18:57:21.085926609 +0100 +++ /work/SRC/openSUSE:Factory/.python-defusedxml.new/python-defusedxml.changes 2017-05-03 15:55:16.452454682 +0200 @@ -1,0 +2,14 @@ +Wed Apr 19 22:20:34 UTC 2017 - toddrme2178@gmail.com + +- Fix source url. + +------------------------------------------------------------------- +Tue Apr 18 16:58:49 UTC 2017 - toddrme2178@gmail.com + +- Update to 5.0 + * Add compatibility with Python 3.6 + * Drop support for Python 2.6, 3.1, 3.2, 3.3 + * Fix lxml tests (XMLSyntaxError: Detected an entity reference loop) +- Implement single-spec version. + +------------------------------------------------------------------- Old: ---- defusedxml-0.4.1.tar.gz New: ---- defusedxml-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-defusedxml.spec ++++++ --- /var/tmp/diff_new_pack.Px8mTP/_old 2017-05-03 15:55:18.336188747 +0200 +++ /var/tmp/diff_new_pack.Px8mTP/_new 2017-05-03 15:55:18.340188181 +0200 @@ -16,24 +16,26 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-defusedxml -Version: 0.4.1 +Version: 0.5.0 Release: 0 Summary: XML bomb protection for Python stdlib modules License: Python-2.0 Group: Development/Languages/Python Url: https://pypi.python.org/pypi/defusedxml -Source: https://pypi.python.org/packages/source/d/defusedxml/defusedxml-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-xml +Source: https://files.pythonhosted.org/packages/source/d/defusedxml/defusedxml-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xml} Requires: python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description The results of an attack on a vulnerable XML library can be fairly dramatic. @@ -44,21 +46,22 @@ This library allows for XML to be parsed in a manner that avoids these pitfalls. - - %prep %setup -q -n defusedxml-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check -python setup.py test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.txt CHANGES.txt %{python_sitelib}/* ++++++ defusedxml-0.4.1.tar.gz -> defusedxml-0.5.0.tar.gz ++++++ ++++ 1957 lines of diff (skipped)