Fix the ASAN build error 10/242810/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120308 accepted/tizen/6.0/unified/hotfix/20201103.051048 accepted/tizen/6.5/unified/20211028.095855 accepted/tizen/unified/20200902.011925 submit/tizen/20200901.064142 submit/tizen/20210602.004609 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 submit/tizen_6.5/20211028.162201 tizen_6.0.m2_release tizen_6.5.m2_release
authorWootak Jung <wootak.jung@samsung.com>
Tue, 1 Sep 2020 03:42:24 +0000 (12:42 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 1 Sep 2020 04:06:30 +0000 (13:06 +0900)
Change-Id: I12ff05e325b5c98d82e653b00f45ff97b7b25be3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
packaging/bluetooth-agent.spec

index 9852a3e..82ab05e 100644 (file)
@@ -158,18 +158,6 @@ find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
 rm -rf %{buildroot}
 %make_install
 
-%if 0%{?gcov:1}
-mkdir -p %{buildroot}%{_datadir}/gcov/obj
-install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
-%endif
-
-%check
-%if 0%{?gcov:1}
-pushd unittest
-./run_coverage.sh
-popd
-%endif
-
 # This usage of profile macro does NOT conflict 4.0 configurability.
 #%if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
 # Original: wearable, ivi. Added: common, "undefined"
@@ -186,6 +174,18 @@ install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/
 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
 
+%if 0%{?gcov:1}
+mkdir -p %{buildroot}%{_datadir}/gcov/obj
+install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+%endif
+
+%check
+%if 0%{?gcov:1}
+pushd unittest
+./run_coverage.sh
+popd
+%endif
+
 %files
 %manifest %{name}.manifest
 %license LICENSE