Add the module name in the gcov install path 26/270126/1 accepted/tizen/unified/20220127.133236 submit/tizen/20220126.073358
authordh79pyun <dh79.pyun@samsung.com>
Wed, 26 Jan 2022 04:17:22 +0000 (13:17 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Wed, 26 Jan 2022 04:17:22 +0000 (13:17 +0900)
Change-Id: Id93643207af5db2dc964a02db7d4a77b53fa3925
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
packaging/bluetooth-agent.spec

index 82ab05ee11a2035e85f4103b3cb383940f0dcf34..e247ef8dc1827a49960befed8660d6dc28bd8528 100644 (file)
@@ -175,8 +175,8 @@ install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_unitdir}/
 install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_unitdir}/bluetooth-hid-agent.service
 
 %if 0%{?gcov:1}
-mkdir -p %{buildroot}%{_datadir}/gcov/obj
-install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name}
+install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name}/
 %endif
 
 %check