Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defusedxml?expand=0&rev=10
This commit is contained in:
parent
c40fa194cd
commit
1068075697
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user