| |
@@ -1,6 +1,6 @@
|
| |
Name: libarcus
|
| |
Version: 4.1.0
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
Summary: Communication library between internal components for Ultimaker software
|
| |
License: LGPLv3+
|
| |
URL: https://github.com/Ultimaker/libArcus
|
| |
@@ -59,6 +59,13 @@
|
| |
# https://github.com/Ultimaker/libArcus/pull/94#issuecomment-505376760
|
| |
sed -i 's/Python3_SITELIB/Python3_SITEARCH/' cmake/SIPMacros.cmake
|
| |
|
| |
+ %if 0%{?python3_version_nodots} >= 38
|
| |
+ # Python 3.8 no longer links extension modules to libpython
|
| |
+ # we force that behavior even for the custom-cmake build machinery
|
| |
+ sed -i 's/ ${Python3_LIBRARIES}//' cmake/SIPMacros.cmake
|
| |
+ %endif
|
| |
+
|
| |
+
|
| |
%build
|
| |
%{cmake} -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_SKIP_RPATH:BOOL=ON .
|
| |
%make_build
|
| |
@@ -86,6 +93,9 @@
|
| |
%{python3_sitearch}/Arcus.so
|
| |
|
| |
%changelog
|
| |
+ * Thu Nov 14 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-6
|
| |
+ - Stop linking the Python module to libpython (on Python 3.8+)
|
| |
+
|
| |
* Fri Nov 01 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-5
|
| |
- Make the dependency of python3-arcus on libarcus strict (#1767762)
|
| |
|
| |
See also https://fedoraproject.org/wiki/Changes/PythonStaticSpeedup
And https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-the-c-api
And https://bugs.python.org/issue21536
cc @vstinner @cstratak