Hello community,

here is the log from the commit of package glabels for openSUSE:Factory checked 
in at 2020-06-04 17:56:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glabels (Old)
 and      /work/SRC/openSUSE:Factory/.glabels.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glabels"

Thu Jun  4 17:56:17 2020 rev:39 rq:811383 version:3.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/glabels/glabels.changes  2020-01-31 
23:56:46.975635791 +0100
+++ /work/SRC/openSUSE:Factory/.glabels.new.3606/glabels.changes        
2020-06-04 17:56:23.596993639 +0200
@@ -1,0 +2,5 @@
+Wed Jun  3 17:03:06 UTC 2020 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add glabels-externs.patch: define shared variables as extern.
+
+-------------------------------------------------------------------

New:
----
  glabels-externs.patch

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

Other differences:
------------------
++++++ glabels.spec ++++++
--- /var/tmp/diff_new_pack.XytXJi/_old  2020-06-04 17:56:25.324999051 +0200
+++ /var/tmp/diff_new_pack.XytXJi/_new  2020-06-04 17:56:25.328999063 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package glabels
 #
-# Copyright (c) 2018 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,7 +12,7 @@
 # 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/
 #
 
 
@@ -22,8 +22,11 @@
 Summary:        Label Editing and Printing Tool
 License:        GPL-3.0-or-later
 Group:          Productivity/Office/Other
-Url:            http://glabels.sourceforge.net/
+URL:            http://glabels.sourceforge.net/
 Source:         
http://download.gnome.org/sources/glabels/3.4/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM glabels-externs.patch -- define shared variables as extern
+Patch:          glabels-externs.patch
+
 BuildRequires:  barcode-devel
 BuildRequires:  fdupes
 BuildRequires:  intltool
@@ -64,14 +67,14 @@
 
 %lang_package
 %prep
-%setup -q
+%autosetup -p1
 translation-update-upstream
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure\
         --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install

++++++ glabels-externs.patch ++++++
diff -up glabels-3.4.1/src/font-history.h.f32 glabels-3.4.1/src/font-history.h
--- glabels-3.4.1/src/font-history.h.f32        2016-03-04 05:01:15.000000000 
+0100
+++ glabels-3.4.1/src/font-history.h    2020-02-03 08:41:46.371176433 +0100
@@ -28,7 +28,7 @@
 G_BEGIN_DECLS
 
 
-glFontHistoryModel *gl_font_history;
+extern glFontHistoryModel *gl_font_history;
 
 
 void            gl_font_history_init (void);
diff -up glabels-3.4.1/src/template-history.h.f32 
glabels-3.4.1/src/template-history.h
--- glabels-3.4.1/src/template-history.h.f32    2016-03-04 05:01:15.000000000 
+0100
+++ glabels-3.4.1/src/template-history.h        2020-02-03 08:42:28.547175850 
+0100
@@ -28,7 +28,7 @@
 G_BEGIN_DECLS
 
 
-glTemplateHistoryModel *gl_template_history;
+extern glTemplateHistoryModel *gl_template_history;
 
 
 void            gl_template_history_init (void);


Reply via email to