diff --git a/python-sphinxcontrib-copybutton.changes b/python-sphinxcontrib-copybutton.changes index 4f1fc6e..0d28182 100644 --- a/python-sphinxcontrib-copybutton.changes +++ b/python-sphinxcontrib-copybutton.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 12:43:04 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Jun 9 12:40:36 UTC 2023 - ecsos diff --git a/python-sphinxcontrib-copybutton.spec b/python-sphinxcontrib-copybutton.spec index b67fec1..aaedad4 100644 --- a/python-sphinxcontrib-copybutton.spec +++ b/python-sphinxcontrib-copybutton.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinxcontrib-copybutton # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,9 @@ Summary: Add a copy button to each of your code cells License: MIT URL: https://github.com/executablebooks/sphinx-copybutton Source: https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx >= 1.8 @@ -46,15 +48,16 @@ Add a copy button to each of your code cells. %setup -q -n sphinx-copybutton-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/sphinx_copybutton +%{python_sitelib}/sphinxcontrib[-_]copybutton-%{version}*-info %changelog