From 63368ef13d85ccfebfea7e68eb00b37a57e05766 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Wed, 11 Jan 2017 13:15:38 +0900 Subject: [PATCH] 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 --- packaging/libtbm-exynos.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.34.1