Hello community,
here is the log from the commit of package libspectre for openSUSE:Factory checked in at 2020-09-01 20:00:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libspectre (Old)
and /work/SRC/openSUSE:Factory/.libspectre.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libspectre"
Tue Sep 1 20:00:45 2020 rev:26 rq:828315 version:0.2.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/libspectre/libspectre.changes 2016-08-26 23:15:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libspectre.new.3399/libspectre.changes 2020-09-01 20:00:59.200413338 +0200
@@ -1,0 +2,16 @@
+Thu Aug 20 22:01:59 UTC 2020 - Dirk Mueller
+
+- update to 0.2.9:
+ * Fixed lots of crashes, memory leaks with malformed
+ documents (Albert Astals Cid, Randy)
+
+ * Ghostscript 9.24 is now required (Christian Persch)
+
+ * Hide internal symbols (Christian Persch)
+
+ * Added "(libspectre)" to the error messages to be clear where the
+ messages come from (Caolán McNamara)
+ * Fixed clang warnings (Albert Astals Cid)
+- fix-bsc975503.diff: refresh
+
+-------------------------------------------------------------------
Old:
----
libspectre-0.2.8.tar.gz
New:
----
libspectre-0.2.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libspectre.spec ++++++
--- /var/tmp/diff_new_pack.0N5X72/_old 2020-09-01 20:01:01.332414335 +0200
+++ /var/tmp/diff_new_pack.0N5X72/_new 2020-09-01 20:01:01.336414337 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libspectre
#
-# 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,26 +12,24 @@
# 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/
#
-Url: http://libspectre.freedesktop.org/
-
+%define debug_package_requires libspectre1 = %{version}-%{release}
Name: libspectre
-Version: 0.2.8
+Version: 0.2.9
Release: 0
Summary: Library for Rendering PostScript Documents
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
+URL: https://libspectre.freedesktop.org/
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-bsc975503.diff bsc#975503 fdo#97091 -- Parse ps files ignoring EOF comments which would stop parsing too soon in documents with embedded EPS files.
Patch0: fix-bsc975503.diff
-%define debug_package_requires libspectre1 = %{version}-%{release}
BuildRequires: ghostscript-devel
BuildRequires: ghostscript-library
-BuildRequires: pkg-config
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkgconfig
%description
libspectre is a small library for rendering Postscript documents. It
@@ -64,25 +62,19 @@
%build
%configure --disable-static --enable-shared
-make %{?_smp_mflags}
+%make_build
%install
%make_install
%post -n libspectre1 -p /sbin/ldconfig
-
%postun -n libspectre1 -p /sbin/ldconfig
-%clean
-rm -rf %{buildroot}
-
%files -n libspectre1
-%defattr(-, root, root)
-%doc COPYING
+%license COPYING
%{_libdir}/libspectre.so.1*
%files -n libspectre-devel
-%defattr(-, root, root)
%{_includedir}/libspectre
%{_libdir}/libspectre.la
%{_libdir}/libspectre.so
++++++ fix-bsc975503.diff ++++++
--- /var/tmp/diff_new_pack.0N5X72/_old 2020-09-01 20:01:01.364414350 +0200
+++ /var/tmp/diff_new_pack.0N5X72/_new 2020-09-01 20:01:01.368414352 +0200
@@ -1,13 +1,13 @@
-Index: libspectre-0.2.7/libspectre/spectre-document.c
+Index: libspectre-0.2.9/libspectre/spectre-document.c
===================================================================
---- libspectre-0.2.7.orig/libspectre/spectre-document.c
-+++ libspectre-0.2.7/libspectre/spectre-document.c
-@@ -67,7 +67,7 @@ spectre_document_load (SpectreDocument *
- document->doc = NULL;
+--- libspectre-0.2.9.orig/libspectre/spectre-document.c
++++ libspectre-0.2.9/libspectre/spectre-document.c
+@@ -72,7 +72,7 @@ document_load (SpectreDocument *document
+ return;
}
-- document->doc = psscan (filename, SCANSTYLE_NORMAL);
-+ document->doc = psscan (filename, SCANSTYLE_IGNORE_EOF);
+- document->doc = psscan (file, filename, SCANSTYLE_NORMAL);
++ document->doc = psscan (file, filename, SCANSTYLE_IGNORE_EOF);
if (!document->doc) {
document->status = SPECTRE_STATUS_LOAD_ERROR;
return;
++++++ libspectre-0.2.8.tar.gz -> libspectre-0.2.9.tar.gz ++++++
++++ 10410 lines of diff (skipped)