Fix asan build error 61/282961/1 accepted/tizen/unified/20221103.165725
authorWootak Jung <wootak.jung@samsung.com>
Fri, 14 Oct 2022 01:53:52 +0000 (10:53 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 14 Oct 2022 01:53:52 +0000 (10:53 +0900)
Change-Id: I9f85ccf2b1afb06634f91f0a30676b0b9328dcf4
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
packaging/bluetooth-agent.spec

index 70bc363..242016e 100644 (file)
@@ -172,6 +172,7 @@ install -D -m 0644 packaging/bluetooth-pbap-agent.service %{buildroot}%{_unitdir
 install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/bluetooth-ag-agent.service
 install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_unitdir}/bluetooth-hf-agent.service
 install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_unitdir}/bluetooth-hid-agent.service
+ln -s ../bluetooth-hf-agent.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-hf-agent.service
 
 %if 0%{?gcov:1}
 mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name}
@@ -185,9 +186,6 @@ pushd unittest
 popd
 %endif
 
-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
 %license LICENSE