From: MyungJoo Ham Date: Wed, 11 Jan 2017 04:15:38 +0000 (+0900) Subject: spec clean: remove warning messages X-Git-Tag: submit/tizen/20170117.555555~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63368ef13d85ccfebfea7e68eb00b37a57e05766;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git spec clean: remove warning messages 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 --- diff --git a/packaging/libtbm-exynos.spec b/packaging/libtbm-exynos.spec index 326e36e..730bbec 100644 --- a/packaging/libtbm-exynos.spec +++ b/packaging/libtbm-exynos.spec @@ -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