Hello community,

here is the log from the commit of package libparserutils for openSUSE:Factory 
checked in at 2020-08-28 23:45:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libparserutils (Old)
 and      /work/SRC/openSUSE:Factory/.libparserutils.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libparserutils"

Fri Aug 28 23:45:24 2020 rev:5 rq:829747 version:0.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libparserutils/libparserutils.changes    
2016-08-09 22:14:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libparserutils.new.3399/libparserutils.changes  
2020-08-28 23:45:29.707481915 +0200
@@ -1,0 +2,12 @@
+Wed Aug 26 12:16:50 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix the compilation to actually work
+
+-------------------------------------------------------------------
+Tue Aug 25 15:21:02 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 0.2.4:
+  * Tests: Fix memory leak
+  * Tests: Fix read before start of unused expected buffer 
+
+-------------------------------------------------------------------

Old:
----
  libparserutils-0.2.3-src.tar.gz

New:
----
  libparserutils-0.2.4-src.tar.gz

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

Other differences:
------------------
++++++ libparserutils.spec ++++++
--- /var/tmp/diff_new_pack.SSKpqW/_old  2020-08-28 23:45:30.847481184 +0200
+++ /var/tmp/diff_new_pack.SSKpqW/_new  2020-08-28 23:45:30.847481184 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libparserutils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,21 @@
 # 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/
 #
 
 
 Name:           libparserutils
-Version:        0.2.3
+Version:        0.2.4
 Release:        0
 Summary:        A library for building efficient parsers
 License:        MIT
-Group:          Development/Libraries/C and C++
-Url:            http://www.netsurf-browser.org/projects/libparserutils/
+URL:            https://www.netsurf-browser.org/projects/libparserutils/
 Source:         
http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
-BuildRequires:  check-devel
-BuildRequires:  doxygen
+Patch0:         libparserutils-optflags.patch
 BuildRequires:  netsurf-buildsystem >= 1.1
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Patch:          libparserutils-optflags.patch
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(check)
 
 %description
 LibParserUtils is a library for building efficient parsers, written in
@@ -55,7 +52,6 @@
 
 %package -n libparserutils0
 Summary:        A library for building efficient parsers
-Group:          System/Libraries
 
 %description -n libparserutils0
 LibParserUtils is a library for building efficient parsers, written in
@@ -63,56 +59,38 @@
 
 %package devel
 Summary:        Development files for %{name}
-Group:          Development/Libraries/C and C++
 Requires:       libparserutils0 = %{version}-%{release}
 
 %description devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
-%package doc
-Summary:        Documentation of %{name} API
-Group:          Documentation/HTML
-BuildArch:      noarch
-
-%description doc
-The %{name}-doc package contains documentation files for %{name}.
-
-%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} 
Q= INCLUDEDIR=include
+%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} 
Q= INCLUDEDIR=include CC=gcc BUILD_CC=gcc
 %global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS"
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
-echo 'HTML_TIMESTAMP=NO' >> build/Doxyfile
-make %{?_smp_mflags} %{make_vars} %{build_vars}
-make %{?_smp_mflags} docs %{make_vars}
+%make_build %{make_vars} %{build_vars}
 
 %install
 make install DESTDIR=%{buildroot} %{make_vars}
 
 %post -n libparserutils0 -p /sbin/ldconfig
-
 %postun -n libparserutils0 -p /sbin/ldconfig
 
 %check
-make %{?_smp_mflags} test %{make_vars}
+%make_build test %{make_vars}
 
 %files -n libparserutils0
-%defattr(-,root,root)
+%license COPYING
 %{_libdir}/%{name}.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/parserutils
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
 
-%files doc
-%defattr(-,root,root)
-%doc COPYING README
-%doc build/docs/html
-
 %changelog

++++++ libparserutils-0.2.3-src.tar.gz -> libparserutils-0.2.4-src.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libparserutils-0.2.3/Makefile 
new/libparserutils-0.2.4/Makefile
--- old/libparserutils-0.2.3/Makefile   2016-02-16 09:49:51.000000000 +0100
+++ new/libparserutils-0.2.4/Makefile   2018-08-22 15:25:07.000000000 +0200
@@ -6,7 +6,7 @@
 
 # Component settings
 COMPONENT := parserutils
-COMPONENT_VERSION := 0.2.3
+COMPONENT_VERSION := 0.2.4
 # Default to a static library
 COMPONENT_TYPE ?= lib-static
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libparserutils-0.2.3/test/cscodec-utf16.c 
new/libparserutils-0.2.4/test/cscodec-utf16.c
--- old/libparserutils-0.2.3/test/cscodec-utf16.c       2016-02-16 
09:49:51.000000000 +0100
+++ new/libparserutils-0.2.4/test/cscodec-utf16.c       2018-08-22 
15:25:07.000000000 +0200
@@ -87,6 +87,7 @@
        run_test(&ctx);
 
        free(ctx.buf);
+       free(ctx.exp);
 
        parserutils_charset_codec_destroy(ctx.codec);
 
@@ -117,7 +118,7 @@
                        if (ctx->buf[ctx->bufused - 1] == '\n')
                                ctx->bufused -= 1;
 
-                       if (ctx->exp[ctx->expused - 1] == '\n')
+                       if (ctx->expused != 0 && ctx->exp[ctx->expused - 1] == 
'\n')
                                ctx->expused -= 1;
 
                        run_test(ctx);


Reply via email to