Accepting request 329427 from GNOME:Apps

Fix build on Leap 42.1

OBS-URL: https://build.opensuse.org/request/show/329427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2015-09-09 18:21:01 +00:00 committed by Git OBS Bridge
parent 388b1e721e
commit 1ac2d735f0
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 7 06:49:59 UTC 2015 - dimstar@opensuse.org
- openSUSE Leap 42.1 (suse_version = 1315, is_opensuse = 1) also
contains an updated libdbi, thus we need to apply patch
gnucash-libdbi-0.9.patch in this case.
-------------------------------------------------------------------
Wed Jul 8 20:46:48 UTC 2015 - zaitor@opensuse.org

View File

@ -116,7 +116,7 @@ balanced books.
%setup -q
# This patch must be applied:
%patch0
%if 0%{?suse_version} > 1315
%if (0%{?suse_version} == 1315 && %{is_opensuse}) || 0%{suse_version} > 1315
# in openSUSE Factory, we have libdbi 0.9.0+git23, which changed the API a bit
# SLE12 contains libdbi 0.9.0, before this API change.
%patch1 -p1