Fix spec version check 05/120205/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 22 Mar 2017 05:48:05 +0000 (14:48 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 30 Mar 2017 09:31:03 +0000 (18:31 +0900)
- 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 <seoyeon2.kim@samsung.com>
packaging/dali-adaptor.spec

index 199a33c..61b42b8 100644 (file)
@@ -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/