From fb150f1a9e5d30341c67185aa2c2cdce264e49da Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Wed, 19 Feb 2025 17:28:02 +0800 Subject: [PATCH] fix pyinstaller command error on x86_64 architecture. Signed-off-by: cherry530 <707078654@qq.com> --- python-pyinstaller.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-pyinstaller.spec b/python-pyinstaller.spec index 4d7c17f..c9571a0 100644 --- a/python-pyinstaller.spec +++ b/python-pyinstaller.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pyinstaller Version: 3.6 -Release: 2 +Release: 3 Summary: PyInstaller bundles a Python application and all its dependencies into a single package. License: GPL-2.0-only URL: http://www.pyinstaller.org @@ -70,12 +70,19 @@ mv %{buildroot}/doclist.lst . %files -n python3-pyinstaller -f filelist.lst %dir %{python3_sitelib}/* +%ifarch x86_64 +%exclude %{python3_sitelib}/PyInstaller/bootloader/{D*,W*,*32*} +%else %exclude %{python3_sitelib}/PyInstaller/bootloader/{D*,W*,*32*,Linux-64bit} +%endif %files help -f doclist.lst %{_pkgdocdir} %changelog +* Wed Feb 19 2025 xu_ping <707078654@qq.com> - 3.6-3 +- fix pyinstaller command error on x86_64 architecture. + * Thu Jun 13 2024 yao_xin - 3.6-2 - License compliance rectification