summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/cmd2.spec b/cmd2.spec
index 9ade46a..a7a30fd 100644
--- a/cmd2.spec
+++ b/cmd2.spec
@@ -10,7 +10,7 @@
Name: python-%{pypi_name}
Version: 4.3.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Tool for building powerful, feature-rich, and user-friendly interactive command line applications
License: MIT
URL: https://github.com/python-cmd2/cmd2
@@ -80,7 +80,7 @@ pip3 install --no-build-isolation --no-index --no-deps \
%check
-%{python3} -c "import cmd2"
+python3 -c "import cmd2"
%files -n python3-%{pypi_name}
@@ -95,6 +95,12 @@ pip3 install --no-build-isolation --no-index --no-deps \
%changelog
+* Wed Oct 28 2026 Python_Bot <Python_Bot@openeuler.org> - 4.3.1-4
+- Replace undefined macro in check section: %{python3} -> python3
+ (the %{python3} macro is not defined in openEuler 24.03 build env,
+ unlike %{__python3} and %{python3_sitelib} which are defined;
+ unexpanded %{python3} literal caused "fg: no job control" shell error)
+
* Wed Oct 28 2026 Python_Bot <Python_Bot@openeuler.org> - 4.3.1-3
- Add --no-deps to the pip3 install in install section so pip does not try to
resolve runtime deps (prompt-toolkit>=3.0.53 etc.) from the local wheels dir