Fixed build with SWIG 4.0.0 (#1707412)
This commit is contained in:
parent
b71c0d24ad
commit
e273a237b4
|
@ -0,0 +1,12 @@
|
|||
diff -up libprelude-5.0.0/bindings/python/libpreludecpp-python.i.swig4 libprelude-5.0.0/bindings/python/libpreludecpp-python.i
|
||||
--- libprelude-5.0.0/bindings/python/libpreludecpp-python.i.swig4 2019-03-05 08:01:57.511426562 +0100
|
||||
+++ libprelude-5.0.0/bindings/python/libpreludecpp-python.i 2019-03-05 08:02:04.926557632 +0100
|
||||
@@ -40,7 +40,7 @@
|
||||
%feature("python:slot", "tp_repr", functype="reprfunc") *::toString;
|
||||
%feature("python:slot", "mp_subscript", functype="binaryfunc") *::get;
|
||||
%feature("python:slot", "mp_ass_subscript", functype="objobjargproc") *::set;
|
||||
-%feature("python:slot", "tp_hash") Prelude::IDMEFValue::getType;
|
||||
+%feature("python:slot", "tp_hash", functype="hashfunc") Prelude::IDMEFValue::getType;
|
||||
|
||||
/*
|
||||
* IDMEFClass
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: libprelude
|
||||
Version: 5.0.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Secure Connections between all Sensors and the Prelude Manager
|
||||
# Prelude is GPL-2.0+
|
||||
# libmissing is LGPL-2.1+
|
||||
|
@ -27,6 +27,7 @@ Patch4: libprelude-5.0.0-fix_pthread_atfork.patch
|
|||
# https://www.prelude-siem.org/issues/887
|
||||
Patch5: libprelude-5.0.0-fix_prelude_tests_timer.patch
|
||||
Patch6: libprelude-5.0.0-disable_gnulib_test_lock.patch
|
||||
Patch7: libprelude-5.0.0-fix-for-swig4.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: bison
|
||||
|
@ -223,6 +224,8 @@ find %{buildroot} -name '.packlist' -delete
|
|||
%doc AUTHORS ChangeLog README NEWS
|
||||
|
||||
%changelog
|
||||
* Tue May 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 5.0.0-2
|
||||
- Fix build with SWIG 4.0.0 (#1707412)
|
||||
* Tue Feb 26 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.0.0-1
|
||||
- Bump version 5.0.0, Fixing #1629893
|
||||
|
||||
|
|
Loading…
Reference in New Issue