Hello community,

here is the log from the commit of package libprelude for openSUSE:Factory 
checked in at 2019-12-04 13:49:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libprelude (Old)
 and      /work/SRC/openSUSE:Factory/.libprelude.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libprelude"

Wed Dec  4 13:49:15 2019 rev:6 rq:744325 version:5.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libprelude/libprelude.changes    2019-03-04 
09:22:24.976578944 +0100
+++ /work/SRC/openSUSE:Factory/.libprelude.new.4691/libprelude.changes  
2019-12-04 14:19:04.826372401 +0100
@@ -1,0 +2,24 @@
+Fri Oct 25 07:00:00 UTC 2019 - thomas.andre...@gmail.com
+
+Bump version 5.1.1
+  - Update internal dependencies (SWIG, ...)
+  - Better support for unicode
+  - Fully support Python3
+  - Better features for debugging
+  - Fix various bugs
+
+- CPP Soname bump 8 to 12
+- Add patchs:
+  - libprelude-fix_awk_error.patch
+    - Support of recents awk versions
+  - libprelude-fix_gtkdoc_1.32.patch
+    - Support of recents gtkdoc versions
+  - libprelude-fix_py38.patch
+    - Add support for Python3.8
+- Remove patch:
+  - libprelude-disable_gnulib_test_lock.patch
+    - Fixed upstream
+- Remove Python 2 support
+  - Python 2 will be removed step by step in all Linux distributions
+
+-------------------------------------------------------------------

Old:
----
  libprelude-5.0.0.tar.gz
  libprelude-disable_gnulib_test_lock.patch

New:
----
  libprelude-5.1.1.tar.gz
  libprelude-fix_awk_error.patch
  libprelude-fix_gtkdoc_1.32.patch
  libprelude-fix_py38.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libprelude.spec ++++++
--- /var/tmp/diff_new_pack.1e8XeD/_old  2019-12-04 14:19:05.494372964 +0100
+++ /var/tmp/diff_new_pack.1e8XeD/_new  2019-12-04 14:19:05.506372974 +0100
@@ -12,19 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %{!?python_sitearch3: %global python_sitearch3 %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts 
RbConfig::CONFIG["sitearchdir"] ')}
 %{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
 %{!?luapkgdir: %global luapkgdir %{_libdir}/lua/%{luaver}}
 %define sover 28
-%define sover_cpp 8
+%define sover_cpp 12
 Name:           libprelude
-Version:        5.0.0
+Version:        5.1.1
 Release:        0
 Summary:        Secure Connections between all Sensors and the Prelude Manager
 # Prelude is GPL-2.0+
@@ -33,36 +32,32 @@
 License:        GPL-2.0-or-later AND LGPL-2.1-only AND GPL-3.0-or-later
 Group:          Productivity/Networking/Security
 Url:            https://www.prelude-siem.org
-Source0:        
https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
-# Known bug on gnulib side and will be fixed
-Patch0:         libprelude-disable_gnulib_test_lock.patch
+Source0:        
https://www.prelude-siem.org/pkg/src/5.1.0/%{name}-%{version}.tar.gz
 # Wrong test
-Patch1:         libprelude-fix_prelude_tests_timer.patch
+Patch0:         libprelude-fix_prelude_tests_timer.patch
 # pthread_atfork was automatically linked before but not anymore
-Patch2:         libprelude-fix_pthread_atfork.patch
+Patch1:         libprelude-fix_pthread_atfork.patch
 # Fix time comparaison
-Patch3:         libprelude-fix_timegm.patch
+Patch2:         libprelude-fix_timegm.patch
 # Wrong FSF address
-Patch4:         libprelude-fsf-address.patch
+Patch3:         libprelude-fsf-address.patch
 # Correctly link for Perl bindings
-Patch5:         libprelude-linking.patch
+Patch4:         libprelude-linking.patch
 # Fix 64 bit portability issues
-Patch6:         libprelude-fix_64bit_portability_issues.patch
+Patch5:         libprelude-fix_64bit_portability_issues.patch
+Patch6:         libprelude-fix_awk_error.patch
+Patch7:         libprelude-fix_gtkdoc_1.32.patch
+Patch8:         libprelude-fix_py38.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
 BuildRequires:  libgnutls-devel
 BuildRequires:  libgpg-error-devel
 BuildRequires:  lua-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
-%if 0%{?suse_version}
-%if 0%{?suse_version} >= 1310
-BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(glib-2.0)
-%endif
-%endif
 
 %description
 Libprelude is a library that guarantees secure connections between all sensors
@@ -144,17 +139,6 @@
 the saving and re-transmission of data in times of temporary interruption of 
one
 of the components of the system.
 
-%package -n python2-%{name}
-Summary:        Python 2 bindings for libprelude
-Group:          Development/Languages/Python
-Provides:       python-%{name} = %version
-Obsoletes:      python-%{name} < %version 
-Requires:       libprelude%{sover} = %{version}
-Requires:       python = %{py_ver}
-
-%description -n python2-%{name}
-Python 2 bindings for libprelude generated by SWIG.
-
 %package -n perl-%{name}
 Summary:        Perl bindings for libprelude
 Group:          Development/Languages/Perl
@@ -208,11 +192,14 @@
 %patch4
 %patch5
 %patch6
+%patch7
+%patch8
 
 %build
 %configure    --disable-static \
               --with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
               --with-perl-installdirs=vendor \
+              --without-python2 \
               --enable-gtk-doc \
              gl_cv_func_printf_directive_n=yes \
              gl_cv_func_printf_infinite_long_double=yes
@@ -277,10 +264,6 @@
 %dir %{_datadir}/libprelude%{sover}/swig/ruby/
 %{_datadir}/libprelude%{sover}/swig/ruby/libpreludecpp-ruby.i
 
-%files -n python2-%{name}
-%defattr(-,root,root)
-%{python_sitearch}/*
-
 %files -n perl-%{name} -f %{name}.files
 %defattr(-,root,root)
 %exclude %{_bindir}/libprelude-config

++++++ libprelude-5.0.0.tar.gz -> libprelude-5.1.1.tar.gz ++++++
++++ 12479 lines of diff (skipped)

++++++ libprelude-fix_awk_error.patch ++++++
--- ./src/libprelude-error/Makefile.am  2018-12-23 21:59:17.340000000 +0100
+++ ./src/libprelude-error/Makefile.am  2019-07-11 17:33:18.537430699 +0200
@@ -53,7 +53,7 @@
 
 errnos-sym.h: Makefile mkstrtable.awk errnos.in
        LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
-       -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
+       -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
        $(srcdir)/errnos.in >$@
 
 prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in 
errnos.in prelude-error.h.in
--- ./src/libprelude-error/Makefile.in  2018-12-23 22:01:05.090000000 +0100
+++ ./src/libprelude-error/Makefile.in  2019-07-11 17:33:10.202599542 +0200
@@ -1834,7 +1834,7 @@
 
 errnos-sym.h: Makefile mkstrtable.awk errnos.in
        LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
-       -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
+       -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
        $(srcdir)/errnos.in >$@
 
 prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in 
errnos.in prelude-error.h.in
--- ./src/libprelude-error/mkerrcodes.awk       2018-12-23 21:59:17.340000000 
+0100
+++ ./src/libprelude-error/mkerrcodes.awk       2019-07-11 17:34:56.482462208 
+0200
@@ -78,7 +78,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrcodes1.awk      2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkerrcodes1.awk      2019-07-11 17:35:02.737336699 
+0200
@@ -78,7 +78,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrcodes2.awk      2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkerrcodes2.awk      2019-07-11 17:35:08.595219159 
+0200
@@ -91,7 +91,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrnos.awk 2019-07-11 17:41:09.385940916 +0200
+++ ./src/libprelude-error/mkerrnos.awk 2019-07-11 17:41:22.455671539 +0200
@@ -80,7 +80,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkstrtable.awk       2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkstrtable.awk       2019-07-11 17:38:41.588950860 
+0200
@@ -77,7 +77,7 @@
 #
 # The variable prefix can be used to prepend a string to each message.
 #
-# The variable namespace can be used to prepend a string to each
+# The variable pkg_namespace can be used to prepend a string to each
 # variable and macro name.
 
 BEGIN {
@@ -102,7 +102,7 @@
       print "/* The purpose of this complex string table is to produce";
       print "   optimal code with a minimum of relocations.  */";
       print "";
-      print "static const char " namespace "msgstr[] = ";
+      print "static const char " pkg_namespace "msgstr[] = ";
       header = 0;
     }
   else
@@ -110,7 +110,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
@@ -150,14 +150,14 @@
   else
     print "  gettext_noop (\"" prefix last_msgstr "\");";
   print "";
-  print "static const int " namespace "msgidx[] =";
+  print "static const int " pkg_namespace "msgidx[] =";
   print "  {";
   for (i = 0; i < coded_msgs; i++)
     print "    " pos[i] ",";
   print "    " pos[coded_msgs];
   print "  };";
   print "";
-  print "#define " namespace "msgidxof(code) (0 ? -1 \\";
+  print "#define " pkg_namespace "msgidxof(code) (0 ? -1 \\";
 
 # Gather the ranges.
   skip = code[0];
++++++ libprelude-fix_gtkdoc_1.32.patch ++++++
--- ./docs/api/libprelude-docs.xml      2019-09-14 18:27:52.635435171 -0400
+++ ./docs/api/libprelude-docs.xml      2019-09-15 03:25:47.491163135 -0400
@@ -51,10 +51,6 @@
     <xi:include href="xml/idmef-value.xml"/>
 
   </chapter>
-  <chapter id="object-tree">
-    <title>Object Hierarchy</title>
-     <xi:include href="xml/tree_index.sgml"/>
-  </chapter>
   <index id="api-index-full">
     <title>API Index</title>
     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
++++++ libprelude-fix_py38.patch ++++++
--- ./bindings/python/_prelude.cxx      2019-07-12 07:19:49.365476420 +0200
+++ ./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);

Reply via email to