rpm spec parsing error occurs in %include macro due to the absence of `chromium-efl-engine.spec.inc` file during VD cosmos private build.
To avoid the parsing error, use %expand macro instead of %include macro.
Change-Id: I877cfd3e3526484fe3ca7733583101c311433ad3
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
%define _tpkid %{_pkgid}
%endif
-%include %{SOURCE2}
+%define include_sub_spec() %{expand:%(cat '%{1}')}
+%{include_sub_spec %{SOURCE2}}
%prep
%setup -q