Now if no do_profiling macro in prjconf the following happens:
GbpError: RPM error while parsing None: can't parse specfile
Change-Id: Id26ad775d624dd90fe30a0d4632bdeaf16d2e5f5
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
%build
AUTOPOINT=true autoreconf --force --install
%configure --libexecdir=%{_libdir} --disable-nls
-%if %do_profiling
+%if 0%{?do_profiling:1}
%__make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate"
%__make check
%__make clean