%if "%{?profile}" == "mobile"
%define MEMCPY_SWC use
%endif
-%else
-%define MEMCPY_SWC nouse
%endif
%prep
%autogen \
--enable-function-trace \
--enable-wayland \
-%if %{?MEMCPY_SWC} == use
+%if "%{MEMCPY_SWC}" == "use"
--enable-memcpy_swc \
%endif
--enable-quick-init
%install
%make_install
-%if %{?MEMCPY_SWC} == use
+%if "%{MEMCPY_SWC}" == "use"
cp -af %{_builddir}/%{buildsubdir}/src/bin/libmemcpy_swc.so* %{buildroot}/%{_libdir}/
%endif
%defattr(-,root,root,-)
%license COPYING
%attr(750,root,root) %{_bindir}/enlightenment*
-%if %{?MEMCPY_SWC} == use
+%if "%{MEMCPY_SWC}" == "use"
%{_libdir}/libmemcpy_swc.so*
%endif
%{_libdir}/enlightenment/*