Now Project Configuration in OBS use macro 'emulator' instead of
'simulator', so we need to change reference in spec file
accordingly
Change-Id: Id25308859aea8713a477a92b5f163eff3dae8304
Signed-off-by: Xiaoyang Yu (max) <max.a.yu@intel.com>
%make_install
mkdir -p %{buildroot}%{_libdir}/systemd/system
-%if 0%{?simulator}
+%if 0%{?emulator}
install -m 0644 %SOURCE1002 %{buildroot}%{_libdir}/systemd/system/sdbd.service
mkdir -p %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants
ln -s %{_libdir}/systemd/system/sdbd.service %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants/
%{_prefix}/sbin/sdk_launch
%attr(0755, root, root) %{_sysconfdir}/init.d/sdbd
%{_libdir}/systemd/system/sdbd.service
-%if 0%{?simulator}
+%if 0%{?emulator}
%{_libdir}/systemd/system/emulator.target.wants/sdbd.service
%else
%{_libdir}/systemd/system/sdbd_tcp.service