#2 Use PyQt5.sip (#1601917)
Merged 5 years ago by churchyard. Opened 5 years ago by churchyard.
rpms/ churchyard/libarcus bz1601917  into  master

@@ -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()

+  

file modified
+8 -1
@@ -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 @@ 

  %{python3_sitearch}/Arcus.so

  

  %changelog

+ * Thu Aug 23 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.3.0-4

+ - Use PyQt5.sip (#1601917)

+ 

  * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild