Bump version 5.2.0
This commit is contained in:
parent
a7be54139d
commit
2932eed83c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/libpreludedb-5.1.0.tar.gz
|
||||
/libpreludedb-5.2.0.tar.gz
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ./bindings/python/_preludedb.cxx 2019-07-13 08:39:59.744285379 +0200
|
||||
+++ ./bindings/python/_preludedb.cxx 2019-07-13 08:41:47.364117843 +0200
|
||||
@@ -3133,7 +3133,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);
|
50
libpreludedb-5.2.0-Clean_libpreludedb-config.patch
Normal file
50
libpreludedb-5.2.0-Clean_libpreludedb-config.patch
Normal file
@ -0,0 +1,50 @@
|
||||
Description: Clean libpreludedb-config
|
||||
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
|
||||
Last-Update: 2020-09-20
|
||||
|
||||
--- a/libpreludedb-config.in 2020-09-09 16:36:50.110000000 +0200
|
||||
+++ b/libpreludedb-config.in 2020-09-20 23:30:02.097649400 +0200
|
||||
@@ -3,6 +3,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
exec_prefix_set=no
|
||||
+cpp_set=no
|
||||
want_cflags=no
|
||||
want_libs=no
|
||||
thread_set=no
|
||||
@@ -54,6 +55,10 @@
|
||||
echo @LIBPRELUDE_LDFLAGS@
|
||||
;;
|
||||
|
||||
+ --c++)
|
||||
+ cpp_set=yes
|
||||
+ ;;
|
||||
+
|
||||
--libs)
|
||||
want_libs=yes
|
||||
;;
|
||||
@@ -90,7 +95,14 @@
|
||||
|
||||
|
||||
if test $want_libs = yes; then
|
||||
- libdirs=-L@libdir@
|
||||
+ libdirs=
|
||||
+ if test @libdir@ != /usr/lib -a @libdir@ != /usr/lib64 ; then
|
||||
+ libdirs=-L@libdir@
|
||||
+ fi
|
||||
+ cpplibs=""
|
||||
+ if test $cpp_set = yes; then
|
||||
+ cpplibs="-lpreludedbcpp"
|
||||
+ fi
|
||||
|
||||
if test $thread_set = yes; then
|
||||
thrlibs=@LTLIBMULTITHREAD@
|
||||
@@ -98,7 +110,7 @@
|
||||
thrlibs=@LTLIBTHREAD@
|
||||
fi
|
||||
|
||||
- echo $libdirs -lpreludedb @LIBPRELUDE_LIBS@ $thrlibs
|
||||
+ echo $cpplibs $libdirs -lpreludedb $thrlibs
|
||||
fi
|
||||
|
||||
exit 0
|
@ -8,5 +8,5 @@ Last-Update: 2019-09-20
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2019 CS-SI. All Rights Reserved.
|
||||
# Copyright (C) 2019-2020 CS GROUP - France. All Rights Reserved.
|
||||
# Author: Yoann Vandoorselaere <yoannv@gmail.com>
|
@ -10,8 +10,8 @@
|
||||
%global cppmajor 2
|
||||
|
||||
Name: libpreludedb
|
||||
Version: 5.1.0
|
||||
Release: 2%{?dist}
|
||||
Version: 5.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Framework for easy access to the IDMEF database
|
||||
# Prelude is GPL-2.0+
|
||||
# libmissing is LGPL-2.1+
|
||||
@ -19,16 +19,15 @@ License: GPLv2+
|
||||
URL: https://www.prelude-siem.org/
|
||||
Source0: https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
|
||||
# https://www.prelude-siem.org/issues/867
|
||||
Patch0: libpreludedb-5.1.0-undefined_non_weak_symbol.patch
|
||||
Patch1: libpreludedb-5.1.0-fix_py38.patch
|
||||
Patch2: libpreludedb-5.1.0-fix_gtkdoc_1.32.patch
|
||||
Patch3: libpreludedb-5.1.0-force_preludedb_admin_with_py3.patch
|
||||
Patch4: libpreludedb-5.1.0-update_m4_postgresql.patch
|
||||
Patch0: libpreludedb-5.2.0-undefined_non_weak_symbol.patch
|
||||
Patch1: libpreludedb-5.2.0-fix_gtkdoc_1.32.patch
|
||||
Patch2: libpreludedb-5.2.0-force_preludedb_admin_with_py3.patch
|
||||
Patch3: libpreludedb-5.2.0-update_m4_postgresql.patch
|
||||
Patch4: libpreludedb-5.2.0-Clean_libpreludedb-config.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: flex
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: swig
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: mysql-devel
|
||||
@ -47,7 +46,7 @@ BuildRequires: valgrind
|
||||
%endif
|
||||
|
||||
# Upstream do not use explicit version of gnulib, just checkout
|
||||
# and update files. In libpreludedb 5.0.0, the checkout has been done
|
||||
# and update files. In libpreludedb 5.2.0, the checkout has been done
|
||||
# on 2018-09-03
|
||||
Provides: bundled(gnulib) = 20180903
|
||||
|
||||
@ -139,7 +138,7 @@ Provides documentation for preludedb generated by gtk-doc.
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--includedir=%{_includedir}/%{name} \
|
||||
--with-swig \
|
||||
--without-swig \
|
||||
--without-python2 \
|
||||
--with-python3 \
|
||||
--enable-gtk-doc \
|
||||
@ -232,6 +231,9 @@ chmod +x %{buildroot}%{_datadir}/%{name}/classic/mysql2sqlite.sh
|
||||
%doc ChangeLog README NEWS
|
||||
|
||||
%changelog
|
||||
* Thu Sep 17 2020 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.2.0-1
|
||||
- Bump version 5.2.0
|
||||
|
||||
* Tue Oct 15 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.1.0-2
|
||||
- Rebuilt because soname bump of libprelude
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libpreludedb-5.1.0.tar.gz) = 9e45e0f7a945eef254f8e59c0c7212c6afca897584ea8f2c88e16478fde448abdeeb991828cc2482373d2c735e1229f1a11fe9780e40da1a8aed867fe158f481
|
||||
SHA512 (libpreludedb-5.2.0.tar.gz) = 357e3ce69927ed405bc757774466631d34cad9b53031be6ce456238dd8aef3781471ecbb36ab4a3131468f4686a635095aaf837d23a0efc9db758322298e7744
|
||||
|
Loading…
Reference in New Issue
Block a user