From 5b0593956eef33ca5befa507117850bda0ae1c95 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 18 Jan 2024 22:45:28 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 5.0.4-2mamba;Thu Jan 18 2024] --- xpra.spec | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/xpra.spec b/xpra.spec index e16aa7f..3159e98 100644 --- a/xpra.spec +++ b/xpra.spec @@ -1,6 +1,6 @@ Name: xpra Version: 5.0.4 -Release: 1mamba +Release: 2mamba Summary: A tool like screen for X allowing to direct X programs display to another X host Group: Graphical Desktop/Applications/Utilities Vendor: openmamba @@ -40,7 +40,7 @@ BuildRequires: libpam-devel BuildRequires: libpango-devel BuildRequires: libprocps-devel BuildRequires: libprocps3-devel -BuildRequires: libpython310-devel +BuildRequires: libpython311-devel BuildRequires: libqrencode-devel BuildRequires: libswscale-ffmpeg-devel BuildRequires: libsystemd-devel @@ -51,14 +51,14 @@ BuildRequires: libxkbfile-devel ## AUTOBUILDREQ-END Requires: xf86-video-dummy Requires: xorg-server -Requires: pygobject-py310 -Requires: python-cryptography-py310 -Requires: python-cups-py310 -Requires: python-Pillow-py310 -Requires: python-netifaces-py310 -Requires: python-numpy-py310 -Requires: python-paramiko-py310 -Requires: python-opengl-py310 +Requires: pygobject-py3 +Requires: python-cryptography-py3 +Requires: python-cups-py3 +Requires: python-Pillow-py3 +Requires: python-netifaces-py3 +Requires: python-numpy-py3 +Requires: python-paramiko-py3 +Requires: python-opengl-py3 %description Xpra is 'screen for X' -- it allows you to run X programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. @@ -78,15 +78,15 @@ Xpra is 'screen for X' -- it allows you to run X programs, usually on a remote h sed -i "s|systemd_dir = .*|systemd_dir = \"%{_unitdir}\"|" setup.py %build -CFLAGS="%{optflags}" %{__python310} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python310} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python310_inc} \ - --install-lib=%{python310_sitearch} \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ --without-docs \ --record=%{name}.filelist @@ -135,11 +135,12 @@ fi %{_unitdir}/xpra.socket %{_prefix}/lib/cups/backend/xpraforwarder %dir %{_datadir}/xpra -#%dir %{_datadir}/xpra/www -#%{_datadir}/xpra/www/* %doc COPYING %changelog +* Thu Jan 18 2024 Silvan Calarco 5.0.4-2mamba +- rebuilt with python3 == 3.11 + * Wed Nov 29 2023 Automatic Build System 5.0.4-1mamba - automatic version update by autodist