Matej Cepl 2018-12-04 17:12:02 +00:00 committed by Git OBS Bridge
parent c40fa194cd
commit 1068075697

View File

@ -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