diff --git a/solaar.spec b/solaar.spec index de8ec43..dfdc171 100644 --- a/solaar.spec +++ b/solaar.spec @@ -1,6 +1,6 @@ Name: solaar Version: 1.1.2 -Release: 1mamba +Release: 2mamba Summary: Linux device manager for Logitech devices Group: System/Kernel and Hardware Vendor: openmamba @@ -10,13 +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: libpython3-devel -BuildRequires: python3.7dist(evdev) -BuildRequires: python3.7dist(psutil) -BuildRequires: python3.7dist(python-xlib) -BuildRequires: python3.7dist(pyudev) -BuildRequires: python3.7dist(pyyaml) +BuildRequires: libpython310-devel +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) ## AUTOBUILDREQ-END +Requires: python3.10dist(pygobject) %description Linux device manager for Logitech devices. @@ -25,15 +27,15 @@ Linux device manager for Logitech devices. %setup -q -n Solaar-%{version} %build -CFLAGS="%{optflags}" %{__python3} setup.py build +CFLAGS="%{optflags}" %{__python310} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python3} setup.py install \ +%{__python310} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python3_inc} \ - --install-lib=%{python3_sitearch} \ + --install-headers=%{python310_inc} \ + --install-lib=%{python310_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -44,12 +46,15 @@ install -D -m0644 rules.d/42-logitech-unify-permissions.rules %{buildroot}%{_ude %files -f %{name}.filelist %defattr(-,root,root) -%dir %{python3_sitearch}/solaar-%{version}-py*.egg-info -%{python3_sitearch}/solaar-%{version}-py*.egg-info/* +%dir %{python310_sitearch}/solaar-%{version}-py*.egg-info +%{python310_sitearch}/solaar-%{version}-py*.egg-info/* %{_udevrulesdir}/42-logitech-unify-permissions.rules %doc COPYING %changelog +* Sun Apr 03 2022 Silvan Calarco 1.1.2-2mamba +- rebuilt with python 3.10 + * Sun Mar 27 2022 Automatic Build System 1.1.2-1mamba - automatic version update by autodist