Summary(pl.UTF-8): Biblioteka Prelude
Name: libprelude
Version: 5.1.1
-Release: 2
+Release: 3
License: GPL v2 or commercial
Group: Libraries
#Source0Download: https://www.prelude-siem.org/projects/prelude/files
Patch0: python-install.patch
Patch1: %{name}-lua.patch
Patch2: gtk-doc-1.32.patch
+Patch3: python-3.8-fix.patch
URL: https://www.prelude-siem.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%if %{with python3}
# regenerate with fresh swig for python 3.5+
--- /dev/null
+--- libprelude-5.1.0/bindings/python/_prelude.cxx 2019-07-12 07:19:49.365476420 +0200
++++ libprelude-5.1.0/bindings/python/_prelude.cxx 2019-07-12 07:20:02.458213034 +0200
+@@ -3132,7 +3132,7 @@
+
+ SWIGINTERN void
+ SwigPyStaticVar_dealloc(PyDescrObject *descr) {
+- _PyObject_GC_UNTRACK(descr);
++ PyObject_GC_UnTrack(descr);
+ Py_XDECREF(PyDescr_TYPE(descr));
+ Py_XDECREF(PyDescr_NAME(descr));
+ PyObject_GC_Del(descr);