Hello community,

here is the log from the commit of package goffice-0_8 for openSUSE:Factory 
checked in at 2016-07-01 10:01:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/goffice-0_8 (Old)
 and      /work/SRC/openSUSE:Factory/.goffice-0_8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "goffice-0_8"

Changes:
--------
--- /work/SRC/openSUSE:Factory/goffice-0_8/goffice-0_8.changes  2014-01-23 
15:44:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.goffice-0_8.new/goffice-0_8.changes     
2016-07-01 10:01:01.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun 28 13:25:29 UTC 2016 - [email protected]
+
+-  Build with "-Wno-format-nonliteral". "Wformat-nonliteral"
+   basically checks eg printf("abc %s", args) if the first
+   parameter is a literal not a variable, which is not always
+   possible in real program. Fixes boo#985106.
+- Clean up spec file via spec-clean run. Remove obsolete clean
+  section.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ goffice-0_8.spec ++++++
--- /var/tmp/diff_new_pack.85nbwM/_old  2016-07-01 10:01:02.000000000 +0200
+++ /var/tmp/diff_new_pack.85nbwM/_new  2016-07-01 10:01:02.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package goffice-0_8
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
 #
 
 
-Name:           goffice-0_8
 %define _name   goffice
+Name:           goffice-0_8
 Version:        0.8.17
 Release:        0
-# FIXME: on upgrade to > 0.8.17, change versioned Obsoletes: <= to <
-Url:            http://www.gnumeric.org/
 Summary:        GLib/GTK+ Set of Document-Centric Objects and Utilities
 License:        GPL-2.0
 Group:          System/GUI/GNOME
+# FIXME: on upgrade to > 0.8.17, change versioned Obsoletes: <= to <
+Url:            http://www.gnumeric.org/
 Source:         
http://download.gnome.org/sources/goffice/0.8/%{_name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM goffice-0_8-pcre-8_30.patch bgo#670316 
[email protected] -- Port pcre_info to pcre_fullinfo to support pcre 8.30.
 Patch0:         goffice-0_8-pcre-8_30.patch
@@ -37,12 +37,12 @@
 BuildRequires:  intltool
 BuildRequires:  libgsf-devel
 BuildRequires:  pcre-devel
+BuildRequires:  translation-update-upstream
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1210
 # For pcretest
 BuildRequires:  pcre-tools
 %endif
-BuildRequires:  translation-update-upstream
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 These are common operations for document-centric applications that
@@ -89,6 +89,7 @@
 goffice.
 
 %lang_package
+
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
@@ -97,20 +98,18 @@
 
 %build
 NOCONFIGURE=1 gnome-autogen.sh
+# boo#985106 -- Needed with GCC 6 and newer.
+CFLAGS+="-Wno-format-nonliteral"
 %configure --disable-static --with-pic
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-find %{buildroot} -type f -name "*.la" -print -delete
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
+find %{buildroot} -type f -name "*.la" -delete -print
 %find_lang %{_name}-%{version}
-%fdupes $RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%fdupes %{buildroot}
 
 %post -n libgoffice-0_8-8 -p /sbin/ldconfig
-
 %postun -n libgoffice-0_8-8 -p /sbin/ldconfig
 
 %files -n libgoffice-0_8-8
@@ -135,5 +134,6 @@
 %doc %{_datadir}/gtk-doc/html/goffice-0.8/
 
 %files lang -f %{_name}-%{version}.lang
+%defattr(-,root,root)
 
 %changelog


Reply via email to