summaryrefslogtreecommitdiff
path: root/cmd2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.spec')
-rw-r--r--cmd2.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/cmd2.spec b/cmd2.spec
index 44bd7a9..585bf04 100644
--- a/cmd2.spec
+++ b/cmd2.spec
@@ -12,7 +12,7 @@
Name: python-%{pypi_name}
Version: 4.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tool for building powerful command-line applications in Python
License: MIT
URL: https://github.com/python-cmd2/cmd2
@@ -34,6 +34,10 @@ BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-setuptools
+# wheel provides bdist_wheel command needed by setuptools build_meta backend
+# (setuptools 68.0.0 still requires the wheel package; --no-build-isolation
+# means pip will not install it from pyproject.toml build-system.requires)
+BuildRequires: python3-wheel
# Runtime deps mirrored as BuildRequires to support %check import test
BuildRequires: python3-prompt-toolkit >= 3.0.53
BuildRequires: python3-pyperclip >= 1.8.2
@@ -96,5 +100,8 @@ python3 -c "import cmd2; print(cmd2.__file__)"
%changelog
+* Wed Oct 28 2026 Python_Bot <Python_Bot@openeuler.org> - 4.3.1-2
+- Add BuildRequires: python3-wheel to fix bdist_wheel build failure
+
* Wed Oct 28 2026 Python_Bot <Python_Bot@openeuler.org> - 4.3.1-1
- Initial package