diff --git a/libArcus-3.3.0-PyQt5.sip.patch b/libArcus-3.3.0-PyQt5.sip.patch new file mode 100644 index 0000000..ec9fd5d --- /dev/null +++ b/libArcus-3.3.0-PyQt5.sip.patch @@ -0,0 +1,12 @@ +diff -up libArcus-3.3.0/CMakeLists.txt.sip libArcus-3.3.0/CMakeLists.txt +--- libArcus-3.3.0/CMakeLists.txt.sip 2017-10-28 17:28:39.000000000 -0500 ++++ libArcus-3.3.0/CMakeLists.txt 2018-08-23 09:19:22.608553543 -0500 +@@ -88,7 +88,7 @@ endif() + if(BUILD_PYTHON) + set(SIP_EXTRA_FILES_DEPEND python/SocketListener.sip python/Types.sip python/PythonMessage.sip python/Error.sip) + set(SIP_EXTRA_SOURCE_FILES python/PythonMessage.cpp) +- set(SIP_EXTRA_OPTIONS -g) # -g means always release the GIL before calling C++ methods. ++ set(SIP_EXTRA_OPTIONS -g -n PyQt5.sip) # -g means always release the GIL before calling C++ methods. + add_sip_python_module(Arcus python/Socket.sip Arcus) + endif() + diff --git a/libarcus.spec b/libarcus.spec index cf1b17d..1f1219c 100644 --- a/libarcus.spec +++ b/libarcus.spec @@ -1,11 +1,15 @@ Name: libarcus Version: 3.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Communication library between internal components for Ultimaker software License: LGPLv3+ URL: https://github.com/Ultimaker/libArcus Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# https://bugzilla.redhat.com/show_bug.cgi?id=1601917 +Patch1: libArcus-3.3.0-PyQt5.sip.patch + + BuildRequires: protobuf-devel BuildRequires: python3-devel BuildRequires: python3-protobuf @@ -77,6 +81,9 @@ make install DESTDIR=%{buildroot} %{python3_sitearch}/Arcus.so %changelog +* Thu Aug 23 2018 Rex Dieter - 3.3.0-4 +- Use PyQt5.sip (#1601917) + * Fri Jul 13 2018 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild