- Remove not needed python-six dependency

- Remove python_module macro definition
- More specific python_sitelib in files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=45
This commit is contained in:
Daniel Garcia 2022-11-03 09:01:34 +00:00 committed by Git OBS Bridge
parent 2605210ed4
commit 46a7d5b1cd
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 3 09:00:37 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove not needed python-six dependency
- Remove python_module macro definition
- More specific python_sitelib in files
-------------------------------------------------------------------
Thu Sep 29 06:58:58 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -17,7 +17,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bleach
Version: 5.0.1
Release: 0
@ -30,12 +29,10 @@ BuildRequires: %{python_module html5lib >= 1.1}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-html5lib >= 1.1
Requires: python-packaging
Requires: python-six >= 1.9
BuildArch: noarch
%python_subpackages
@ -72,6 +69,7 @@ rm -rf bleach/_vendor
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst
%{python_sitelib}/*
%{python_sitelib}/bleach
%{python_sitelib}/bleach-%{version}*-info
%changelog