spec clean: remove warning messages 43/109643/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Jan 2017 04:15:38 +0000 (13:15 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Jan 2017 04:15:38 +0000 (13:15 +0900)
The old version of rpmbuild that we are using now
does not want nested macros. Unnest the macro
to remove the warning.

Change-Id: I2382fa5e7ec5ed708bcae3f1be8cfd79d7745987
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/libtbm-exynos.spec

index 326e36e..730bbec 100644 (file)
@@ -16,7 +16,11 @@ ExclusiveArch:  %{arm} aarch64
 %description
 descriptionion: Tizen Buffer manager backend module for exynos
 
-%global TZ_SYS_RO_SHARE  %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
+%if 0%{?TZ_SYS_RO_SHARE:1}
+# TZ_SYS_RO_SHARE is already defined
+%else
+%global TZ_SYS_RO_SHARE /usr/share
+%endif
 
 %prep
 %setup -q