From c47096763dc498e6381a5edaf1cf255d6ba4fb94 Mon Sep 17 00:00:00 2001 From: "Xiaoyang Yu (max)" Date: Thu, 12 Jun 2014 19:17:33 +0800 Subject: [PATCH] Change reference to macro 'simulator' to 'emulator' in spec 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) --- packaging/sdbd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/sdbd.spec b/packaging/sdbd.spec index a3f00d1..410ebec 100644 --- a/packaging/sdbd.spec +++ b/packaging/sdbd.spec @@ -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 -- 2.7.4