From b6d492193834456b8dc220e9758db64d4f98993efc88dfb6fd648bc18714ac20 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:19:22 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=32 --- python-PyInstaller.changes | 5 +++++ python-PyInstaller.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-PyInstaller.changes b/python-PyInstaller.changes index 864aa8b..523f4da 100644 --- a/python-PyInstaller.changes +++ b/python-PyInstaller.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:29 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Apr 28 16:40:42 UTC 2025 - Dirk Müller diff --git a/python-PyInstaller.spec b/python-PyInstaller.spec index 9dfbdbe..c9ef671 100644 --- a/python-PyInstaller.spec +++ b/python-PyInstaller.spec @@ -26,6 +26,7 @@ Summary: Bundle a Python application and all its dependencies into a sing License: GPL-2.0-only URL: https://www.pyinstaller.org 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 wheel} BuildRequires: fdupes @@ -67,10 +68,10 @@ rm -r PyInstaller/bootloader %build # -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" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand # Relocate to sitearch if [ "%{$python_sitearch}" != "%{$python_sitelib}" ]; then mkdir -p %{buildroot}%{$python_sitearch}