Accepting request 619535 from GNOME:Apps

Update to 3.2

OBS-URL: https://build.opensuse.org/request/show/619535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=75
This commit is contained in:
2018-06-29 20:35:01 +00:00
committed by Git OBS Bridge
parent ba422593bb
commit 0452188089
4 changed files with 61 additions and 8 deletions

View File

@@ -18,14 +18,13 @@
%define __builder ninja
Name: gnucash
Version: 3.1
Version: 3.2
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
URL: http://www.gnucash.org/
Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}-1.tar.bz2
Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
## Cpan-warning patch must always be applied.
# PATCH-FIX-UPSTREAM gnucash-cpan-warning.patch -- Add a warning about the danger of using gnc-fq-update to update the perl modules used by GnuCash.
@@ -59,13 +58,16 @@ BuildRequires: pkgconfig(gnome-keyring-1) >= 0.6
BuildRequires: pkgconfig(gobject-2.0) >= 2.40
BuildRequires: pkgconfig(gthread-2.0) >= 2.40
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(gwengui-gtk3)
%endif
BuildRequires: pkgconfig(gwenhywfar) >= 3.99.20
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(ktoblzcheck)
BuildRequires: pkgconfig(libglade-2.0)
BuildRequires: pkgconfig(libofx) >= 0.9.0
BuildRequires: pkgconfig(libsecret-1) >= 0.18
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.0
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(webkit2gtk-4.0)
@@ -117,8 +119,6 @@ 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 \