Use PyQt5.sip (#1601917)
This commit is contained in:
parent
dafec0599f
commit
f7aa86f856
2 changed files with 20 additions and 1 deletions
12
libArcus-3.3.0-PyQt5.sip.patch
Normal file
12
libArcus-3.3.0-PyQt5.sip.patch
Normal file
|
|
@ -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()
|
||||
|
||||
|
|
@ -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 <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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue