From ba422593bb74fad06c2c4c42f43b2b1e02378e00ffb9bc3b2f3b10797a2ca520 Mon Sep 17 00:00:00 2001 From: Yuchen Lin Date: Mon, 18 Jun 2018 11:50:41 +0000 Subject: [PATCH] Accepting request 616332 from GNOME:Apps OBS-URL: https://build.opensuse.org/request/show/616332 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=74 --- gnucash.changes | 13 +++++++++++++ gnucash.spec | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gnucash.changes b/gnucash.changes index 1217a62..14afc93 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jun 12 09:20:27 UTC 2018 - bjorn.lie@gmail.com + +- Export C/CXXFLAGS="-Wno-error=parentheses, fix build with gcc8. + This is more or less the exact route taken by upstream to + workaround gcc8. + +------------------------------------------------------------------- +Wed Jun 6 21:43:13 UTC 2018 - bjorn.lie@gmail.com + +- Drop pkgconfig(libgoffice-0.8) BuildRequires: No longer needed, + nor used. + ------------------------------------------------------------------- Thu May 3 01:19:03 UTC 2018 - luc14n0@linuxmail.org diff --git a/gnucash.spec b/gnucash.spec index d179754..9c2ce33 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -20,6 +20,7 @@ Name: gnucash Version: 3.1 Release: 0 +### FIXME ### Remove export of C/CXXFLAGS on next version update, should be fixed upstream by then. Summary: Personal Finance Manager License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception Group: Productivity/Office/Finance @@ -64,7 +65,6 @@ BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(ktoblzcheck) BuildRequires: pkgconfig(libglade-2.0) -BuildRequires: pkgconfig(libgoffice-0.8) >= 0.7.0 BuildRequires: pkgconfig(libofx) >= 0.9.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.7.0 BuildRequires: pkgconfig(libxslt) @@ -117,6 +117,8 @@ a personal finance manager. %autosetup -p1 %build +export CXXFLAGS="-Wno-error=parentheses %{optflags}" +export CFLAGS="-Wno-error=parentheses %{optflags}" %cmake \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \