diff --git a/python-defusedxml.spec b/python-defusedxml.spec index ce34c0b..1caee5c 100644 --- a/python-defusedxml.spec +++ b/python-defusedxml.spec @@ -16,23 +16,21 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without tests Name: python-defusedxml 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 +URL: https://pypi.python.org/pypi/defusedxml Source: https://files.pythonhosted.org/packages/source/d/defusedxml/defusedxml-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -61,8 +59,8 @@ pitfalls. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.txt CHANGES.txt +%license LICENSE +%doc README.txt CHANGES.txt %{python_sitelib}/* %changelog