-* Fri Jan 10 2014 Kévin THIERRY <kevin.thierry@open.eurogiciel.org> accepted/tizen/20131112.015040@29f2623
-- Start sdbd at boot time
-
* Thu Oct 31 2013 Junfeng Dong <junfeng.dong@intel.com> submit/tizen/20131011.084016@81e3d5b
- Fix some runtime issue in 3.0
%install
%make_install
-install -d %{buildroot}%{_libdir}/systemd/system
+mkdir -p %{buildroot}%{_libdir}/systemd/system
%if 0%{?simulator}
install -m 0644 %SOURCE1002 %{buildroot}%{_libdir}/systemd/system/sdbd.service
-install -d %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants
+mkdir -p %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants
ln -s %{_libdir}/systemd/system/sdbd.service %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants/
%else
install -m 0644 %SOURCE1001 %{buildroot}%{_libdir}/systemd/system/sdbd.service
-install -d %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/
-ln -s %{_libdir}/systemd/system/%{name}.service %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/
%endif
-install -d %{buildroot}%{_prefix}/sbin
+mkdir -p %{buildroot}%{_prefix}/sbin
install -m 755 script/sdk_launch %{buildroot}%{_prefix}/sbin/
%files
%{_libdir}/systemd/system/sdbd.service
%if 0%{?simulator}
%{_libdir}/systemd/system/emulator.target.wants/sdbd.service
-%else
-%{_libdir}/systemd/system/multi-user.target.wants/%{name}.service
%endif
%changelog