rebuilt with python 3.10 [release 1.12.2-2mamba;Thu Apr 07 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:01 +01:00
parent 75239a8a35
commit 9f364303fd

View File

@ -1,6 +1,6 @@
Name: PyQt-builder
Version: 1.12.2
Release: 1mamba
Release: 2mamba
Summary: PEP 517 Compliant PyQt Build System
Group: System/Libraries
Vendor: openmamba
@ -10,9 +10,11 @@ URL: https://www.riverbankcomputing.com/software/pyqt/
Source: https://pypi.debian.net/PyQt-builder/PyQt-builder-%{version}.tar.gz
License: SIP
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(packaging)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(sip)
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
%description
%{summary}.
@ -36,18 +38,29 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "/^\/usr\/bin/d" %{name}.filelist
for f in bundle qt-wheel; do
mv %{buildroot}%{_bindir}/pyqt-${f} %{buildroot}%{_bindir}/pyqt-${f}-py%{with_pyver}
%if "0%{?with_pyver}" == "03"
ln -s pyqt-${f}-py%{with_pyver} %{buildroot}%{_bindir}/pyqt-${f}
%endif
done
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
%{_bindir}/pyqt-bundle*
%{_bindir}/pyqt-qt-wheel*
%dir %{python_sitearch}/PyQt_builder-%{version}-py*.egg-info
%{python_sitearch}/PyQt_builder-%{version}-py*.egg-info/*
%doc LICENSE
## note: add extra documentation (if any)
# %doc ChangeLog NEWS README
%changelog
* Thu Apr 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.2-2mamba
- rebuilt with python 3.10
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
- automatic version update by autodist