Accepting request 1033010 from devel:languages:python

- Remove not needed python-six dependency
- Remove python_module macro definition
- More specific python_sitelib in files

OBS-URL: https://build.opensuse.org/request/show/1033010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bleach?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2022-11-04 16:31:40 +00:00 committed by Git OBS Bridge
commit 865d6a5ceb
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> 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 Name: python-bleach
Version: 5.0.1 Version: 5.0.1
Release: 0 Release: 0
@ -30,12 +29,10 @@ BuildRequires: %{python_module html5lib >= 1.1}
BuildRequires: %{python_module packaging} BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-html5lib >= 1.1 Requires: python-html5lib >= 1.1
Requires: python-packaging Requires: python-packaging
Requires: python-six >= 1.9
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -72,6 +69,7 @@ rm -rf bleach/_vendor
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGES README.rst %doc CHANGES README.rst
%{python_sitelib}/* %{python_sitelib}/bleach
%{python_sitelib}/bleach-%{version}*-info
%changelog %changelog