fix pyinstaller command error on x86_64 architecture.

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2025-02-19 17:28:02 +08:00
parent 4ad5056280
commit fb150f1a9e

View File

@ -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 <yao_xin001@hoperun.com> - 3.6-2
- License compliance rectification