From 092f0b7ee04be2e5772e65d20b544fdfc840050d56de0fc96679f254f84d2a01 Mon Sep 17 00:00:00 2001 From: Angelos Tzotsos Date: Tue, 29 Oct 2019 22:16:10 +0000 Subject: [PATCH] Accepting request 743890 from Application:Geo:Staging - Fix Leap build target OBS-URL: https://build.opensuse.org/request/show/743890 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=42 --- proj.changes | 5 +++++ proj.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/proj.changes b/proj.changes index 80c0e5d..f8d61a6 100644 --- a/proj.changes +++ b/proj.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 29 16:19:00 UTC 2019 - Angelos Tzotsos + +- Fix Leap build target + ------------------------------------------------------------------- Fri Sep 27 13:16:36 UTC 2019 - Martin Pluskal diff --git a/proj.spec b/proj.spec index 53f8992..caf25fe 100644 --- a/proj.spec +++ b/proj.spec @@ -32,7 +32,9 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig >= 0.9.0 BuildRequires: sqlite3 BuildRequires: unzip +%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(gtest) +%endif BuildRequires: pkgconfig(sqlite3) >= 3.7 Provides: libproj = %{version} @@ -67,7 +69,9 @@ unzip -o %{SOURCE1} %build %configure \ +%if 0%{?suse_version} > 1500 --with-external-gtest \ +%endif --disable-static %make_build