From 106807569738e749638dec097ec27d0e789115aaf0f9313d6a9ff45963582488 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:12:02 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defusedxml?expand=0&rev=10 --- python-defusedxml.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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