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
This commit is contained in:
Angelos Tzotsos 2019-10-29 22:16:10 +00:00 committed by Git OBS Bridge
parent 9219c5095e
commit 092f0b7ee0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 29 16:19:00 UTC 2019 - Angelos Tzotsos <tzotsos@opensuse.org>
- Fix Leap build target
-------------------------------------------------------------------
Fri Sep 27 13:16:36 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -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