X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fbluetooth-agent.spec;h=70bc363701141e0f5adc0a8b4c1186436c298649;hb=044c884e633f23dd09da4f2ab32175d72d93011e;hp=81da085e0a983a69eec6c6d47a1dcececcaf1605;hpb=dcc233c7a2a36664720d320b3765cd46d667f141;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index 81da085..70bc363 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -155,8 +155,7 @@ find . -name '*.gcno' -exec cp '{}' gcov-obj ';' rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}%{_libdir}/systemd/system/ -mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/ +mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants/ # This usage of profile macro does NOT conflict 4.0 configurability. #%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" @@ -186,8 +185,8 @@ pushd unittest popd %endif -install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hf-agent.service -ln -s ../bluetooth-hf-agent.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hf-agent.service +install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_unitdir}/bluetooth-hf-agent.service +ln -s ../bluetooth-hf-agent.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-hf-agent.service %files %manifest %{name}.manifest @@ -215,10 +214,9 @@ ln -s ../bluetooth-hf-agent.service %{buildroot}%{_libdir}/systemd/system/multi- %{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service %{_sysconfdir}/dbus-1/system.d/bluetooth-hf-agent.conf %{_unitdir}/bluetooth-hf-agent.service +%{_unitdir}/multi-user.target.wants/bluetooth-hf-agent.service #%exclude %{_unitdir}/bluetooth-map-agent.service #%exclude %{_unitdir}/bluetooth-pbap-agent.service -%{_libdir}/systemd/system/bluetooth-hf-agent.service -%{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hf-agent.service %files map %manifest %{name}.manifest