forked from pool/python-bleach
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
3121d88d42 | |||
27b6113a73 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bleach
|
# spec file for package python-bleach
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 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,14 +29,11 @@ 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
|
||||||
|
|
||||||
@@ -59,10 +56,10 @@ Documentation is at http://bleach.readthedocs.org/ .
|
|||||||
rm -rf bleach/_vendor
|
rm -rf bleach/_vendor
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Reference in New Issue
Block a user