From 4375f4b6ade67b322dbb12e0377a2b593db768c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 16 Apr 2019 10:09:53 +0000 Subject: [PATCH] - fix condition in cmake config --- proj.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/proj.spec b/proj.spec index d65f8ae..0d95d50 100644 --- a/proj.spec +++ b/proj.spec @@ -3,7 +3,7 @@ Name: proj Version: %{proj_version} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cartographic projection software (PROJ.4) License: MIT @@ -89,7 +89,7 @@ cat << EOF > %{buildroot}%{_datadir}/cmake/Modules/FindPROJ4.cmake set(PROJ4_FOUND 1) set(PROJ4_INCLUDE_DIRS %{_includedir}) set(PROJ4_LIBRARIES proj) -if(\${LIB_SUFFIX} == 64) +if(\${LIB_SUFFIX} MATCHES 64) set(PROJ4_LIBRARY_DIRS /usr/lib64) else() set(PROJ4_LIBRARY_DIRS /usr/lib) @@ -146,6 +146,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %changelog +* Tue Apr 16 2019 Dan Horák - 5.2.0-4 +- fix condition in cmake config + * Tue Apr 16 2019 Dan Horák - 5.2.0-3 - install cmake config