!7 disable webengine to drop python2
From: @hht8 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
31e58a4d9c
@ -1,6 +1,6 @@
|
|||||||
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
||||||
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
|
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
|
||||||
%global webengine 1
|
%global webengine 0
|
||||||
%endif
|
%endif
|
||||||
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
%global py3_sipdir %{_datadir}/sip/PyQt5
|
%global py3_sipdir %{_datadir}/sip/PyQt5
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: python-qt5
|
Name: python-qt5
|
||||||
Version: 5.11.2
|
Version: 5.11.2
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: PyQt5 is a set of Python bindings for Qt5
|
Summary: PyQt5 is a set of Python bindings for Qt5
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Url: http://www.riverbankcomputing.com/software/pyqt/
|
Url: http://www.riverbankcomputing.com/software/pyqt/
|
||||||
@ -245,6 +245,9 @@ popd
|
|||||||
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
|
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 10 2020 huanghaitao <huanghaitao8@huawei.com> - 5.11.2-9
|
||||||
|
- disable webengine to drop python2
|
||||||
|
|
||||||
* Tue Oct 27 2020 wangxiao <wangxiao65@huawei.com> - 5.11.2-8
|
* Tue Oct 27 2020 wangxiao <wangxiao65@huawei.com> - 5.11.2-8
|
||||||
- drop python2 packages
|
- drop python2 packages
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user