forked from pool/python-PyInstaller
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=32
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user