spec fix: version check error 68/119668/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 20 Mar 2017 01:22:25 +0000 (10:22 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 20 Mar 2017 01:22:25 +0000 (10:22 +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: If8174b71e197a5040398033427db24cafce89947
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/dali-adaptor.spec

index 633e2a4..57a3a3a 100644 (file)
@@ -262,7 +262,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/