Code Clean: gbs warning removed 47/102347/8 tizen_3.0_tv
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 5 Dec 2016 11:19:46 +0000 (20:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 4 Apr 2017 01:52:24 +0000 (18:52 -0700)
The previous macro incurred a few hundreds (if not thousands) of:
...
[  125s] Warning: spec file parser  line 56: macro too deeply nested
[  125s] Warning: spec file parser  line 56: macro too deeply nested
[  125s] Warning: spec file parser  line 56: macro too deeply nested
[  125s] Warning: spec file parser  line 56: macro too deeply nested
[  125s] Warning: spec file parser  line 56: macro too deeply nested
...

Change-Id: I4eda0d29167a1e12d93b9d00c7242af13d0bd460
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/capi-ui-efl-util.spec

index 60f460c..f4d4f3a 100644 (file)
@@ -20,7 +20,7 @@ BuildRequires:  pkgconfig(capi-system-info)
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libtbm)
 
-%global TZ_SYS_RO_SHARE  %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
+%{!?TZ_SYS_RO_SHARE: %global TZ_SYS_RO_SHARE /usr/share}
 
 %description
 An EFL utility library in SLP C API.