14
0
2025-06-11 06:19:22 +00:00
committed by Git OBS Bridge
parent 73daf3e27c
commit b6d4921938
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 28 16:40:42 UTC 2025 - Dirk Müller <dmueller@suse.com> Mon Apr 28 16:40:42 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -26,6 +26,7 @@ Summary: Bundle a Python application and all its dependencies into a sing
License: GPL-2.0-only License: GPL-2.0-only
URL: https://www.pyinstaller.org URL: https://www.pyinstaller.org
Source: https://github.com/pyinstaller/pyinstaller/archive/refs/tags/v%{version}.tar.gz#/pyinstaller-%{version}.tar.gz Source: https://github.com/pyinstaller/pyinstaller/archive/refs/tags/v%{version}.tar.gz#/pyinstaller-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
@@ -67,10 +68,10 @@ rm -r PyInstaller/bootloader
%build %build
# -Wno-stringop-overflow only needed on ppc64 # -Wno-stringop-overflow only needed on ppc64
export CFLAGS="%{optflags} -Wno-stringop-truncation -Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable -Wno-stringop-overflow" export CFLAGS="%{optflags} -Wno-stringop-truncation -Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable -Wno-stringop-overflow"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%{python_expand # Relocate to sitearch %{python_expand # Relocate to sitearch
if [ "%{$python_sitearch}" != "%{$python_sitelib}" ]; then if [ "%{$python_sitearch}" != "%{$python_sitelib}" ]; then
mkdir -p %{buildroot}%{$python_sitearch} mkdir -p %{buildroot}%{$python_sitearch}