From 9ed80299d70fc5e7ef80b92a431269198828b6f5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 26 Jan 2024 09:35:44 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 1.1.10-2mamba;Fri Jan 26 2024] --- solaar.spec | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/solaar.spec b/solaar.spec index 23f96ed..f49f35b 100644 --- a/solaar.spec +++ b/solaar.spec @@ -1,6 +1,6 @@ Name: solaar Version: 1.1.10 -Release: 1mamba +Release: 2mamba Summary: Linux device manager for Logitech devices Group: System/Kernel and Hardware Vendor: openmamba @@ -10,16 +10,15 @@ URL: https://pwr-solaar.github.io/Solaar/ Source: https://github.com/pwr-Solaar/Solaar.git/%{version}/Solaar-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython310-devel -BuildRequires: python3.10dist(dbus-python) -BuildRequires: python3.10dist(evdev) -BuildRequires: python3.10dist(psutil) -BuildRequires: python3.10dist(pygobject) -BuildRequires: python3.10dist(python-xlib) -BuildRequires: python3.10dist(pyudev) -BuildRequires: python3.10dist(pyyaml) +BuildRequires: libpython311-devel +BuildRequires: python3.11dist(dbus-python) +BuildRequires: python3.11dist(evdev) +BuildRequires: python3.11dist(psutil) +BuildRequires: python3.11dist(python-xlib) +BuildRequires: python3.11dist(pyudev) +BuildRequires: python3.11dist(pyyaml) ## AUTOBUILDREQ-END -Requires: python3.10dist(pygobject) +BuildRequires: python3dist(pygobject) %description Linux device manager for Logitech devices. @@ -28,15 +27,15 @@ Linux device manager for Logitech devices. %setup -q -n Solaar-%{version} %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} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -47,12 +46,15 @@ install -D -m0644 rules.d/42-logitech-unify-permissions.rules %{buildroot}%{_ude %files -f %{name}.filelist %defattr(-,root,root) -%dir %{python310_sitearch}/solaar-%{version}-py*.egg-info -%{python310_sitearch}/solaar-%{version}-py*.egg-info/* +%dir %{python3_sitearch}/solaar-%{version}-py*.egg-info +%{python3_sitearch}/solaar-%{version}-py*.egg-info/* %{_udevrulesdir}/42-logitech-unify-permissions.rules %doc COPYING %changelog +* Fri Jan 26 2024 Silvan Calarco 1.1.10-2mamba +- rebuilt with python3 == 3.11 + * Sun Sep 24 2023 Automatic Build System 1.1.10-1mamba - automatic version update by autodist