rebuilt with python 3.10 [release 1.1.2-2mamba;Sun Apr 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:57:58 +01:00
parent 45bbf3fb75
commit 9892adcc1a

View File

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