From 6c4026a1b007eabca84ab65f623e13531dce3cc6 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Wed, 22 Mar 2017 14:48:05 +0900 Subject: [PATCH] Fix spec version check - RPM spec does not allow ">=" for strings although it does not generate build errors for that. Only the rpmbuild's runtime (buildtime) behavior is affected in "undefined" way. Change-Id: Id0f8ef4fda7be43f162f9dcb60b36e1188e30b68 Signed-off-by: Seoyeon Kim --- packaging/dali-adaptor.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 199a33c..61b42b8 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -27,7 +27,7 @@ Requires: giflib #need libtzplatform-config for directory if tizen version is 3.x -%if "%{tizen_version_major}" >= "3" +%if 0%{?tizen_version_major} >= 3 %define tizen_platform_config_supported 1 BuildRequires: pkgconfig(libtzplatform-config) %endif @@ -231,7 +231,7 @@ VideoPlayer plugin to play a video file for Dali #Use TZ_PATH when tizen version is 3.x or greater -%if "%{tizen_version_major}" >= "3" +%if 0%{?tizen_version_major} >= 3 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/ %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/ %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/ -- 2.7.4