spec: code clean (warning removed) 31/101031/2
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 30 Nov 2016 06:31:17 +0000 (15:31 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 5 Dec 2016 08:56:49 +0000 (17:56 +0900)
"macro too deeply nested" warning messages are removed.

Change-Id: Ic37b4dc1cc9012c90d468a3df28757160676db19
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/e-mod-tizen-keyrouter.spec

index 69bf07695e651f5483266a2f8ec2fa66942e443f..1e6d2c662c5f5b33c892764915eb5a34513267a4 100644 (file)
@@ -22,8 +22,11 @@ BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(libtzplatform-config)
 BuildRequires:  xkb-tizen-data
 
-# TODO: This generates big warnings during build. Please revise.
-%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
 
 %description
 This package is a the Enlightenment Keyrouter Module for Tizen.