From e18500da250fc3fe291cc9b4bd85f47704225406 Mon Sep 17 00:00:00 2001 From: Sdk Build System Date: Sat, 6 Jan 2024 10:41:56 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 2.3.1-2mamba;Fri Apr 07 2023] --- python-QtPy.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/python-QtPy.spec b/python-QtPy.spec index 612292b..f03d6db 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-QtPy Version: 2.3.1 -Release: 1mamba +Release: 2mamba Summary: Abstraction layer for PyQt5/PyQt4/PySide2/PySide Group: System/Libraries Vendor: openmamba @@ -40,12 +40,25 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/qtpy; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +%endif + +sed -i "\,%{_bindir},d" %{name}.filelist + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/qtpy* %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Fri Apr 07 2023 Sdk Build System 2.3.1-2mamba +- rebuilt with python 3.10 + * Wed Mar 29 2023 Automatic Build System 2.3.1-1mamba - automatic version update by autodist