diff --git a/python-qt5.spec b/python-qt5.spec index 4e30ee2..af552f0 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -43,6 +43,8 @@ Source4: pyuic5.sh Patch0: python-qt5_sipdir.patch # support newer Qt5 releases than 5.11.1 Patch1: PyQt5-Timeline.patch +# make configure.py check for runtime PyQt5.sip dep informative (non-fatal) +Patch2: PyQt5_gpl-5.11.2-sip_check.patch BuildRequires: chrpath BuildRequires: findutils @@ -238,6 +240,7 @@ Requires: python%{python3_pkgversion}-qt5%{?_isa} = %{version}-%{release} %patch0 -p1 %patch1 -p1 +%patch2 -p1 -b .sip_check %build @@ -266,8 +269,8 @@ popd # Python 3 build: %if 0%{?with_python3} -cp -a * %{_target_platform}-python3/ ||: mkdir %{_target_platform}-python3 +cp -a * %{_target_platform}-python3/ ||: pushd %{_target_platform}-python3 %{__python3} ./configure.py \ --assume-shared \ @@ -492,6 +495,7 @@ sed -i \ * Tue Jul 10 2018 Rex Dieter - 5.11.2-1 - 5.11.2 - %%build: --no-dist-info (not supported when using DESTDIR= yet) +- configure.py: make check for PyQt5.sip module non-fatal * Fri Jun 22 2018 Miro HronĨok - 5.10.2-0.4.dev1805251538 - Rebuilt for Qt update in Python 3.7 side tag