2 Commits

2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 6 05:30:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 19 12:15:05 UTC 2024 - Dirk Müller <dmueller@suse.com> Tue Nov 19 12:15:05 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-bleach # spec file for package python-bleach
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -29,11 +29,14 @@ Patch0: de-vendor.patch
# https://github.com/mozilla/bleach/pull/706 # https://github.com/mozilla/bleach/pull/706
Patch1: strip-spaces.patch Patch1: strip-spaces.patch
BuildRequires: %{python_module html5lib >= 1.1} BuildRequires: %{python_module html5lib >= 1.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-html5lib >= 1.1 Requires: python-html5lib >= 1.1
Requires: python-webencodings
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -56,10 +59,10 @@ Documentation is at http://bleach.readthedocs.org/ .
rm -rf bleach/_vendor rm -rf bleach/_vendor
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check