Change reference to macro 'simulator' to 'emulator' in spec 91/22791/1 submit/tizen_common/20140612.113529
authorXiaoyang Yu (max) <max.a.yu@intel.com>
Thu, 12 Jun 2014 11:17:33 +0000 (19:17 +0800)
committerXiaoyang Yu (max) <max.a.yu@intel.com>
Thu, 12 Jun 2014 11:17:33 +0000 (19:17 +0800)
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>
packaging/sdbd.spec

index a3f00d17b2b916ef5f9775ee3d4b93ebda20d381..410ebec8eb7683314cdb094e030c44286dcf0dcf 100644 (file)
@@ -32,7 +32,7 @@ make %{?jobs:-j%jobs}
 %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/
@@ -52,7 +52,7 @@ install -m 755 script/sdk_launch %{buildroot}%{_prefix}/sbin/
 %{_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