diff options
author | Sangwan Kwon <sangwan.kwon@samsung.com> | 2022-06-09 15:33:50 +0900 |
---|---|---|
committer | Sangwan Kwon <sangwan.kwon@samsung.com> | 2022-06-09 15:35:57 +0900 |
commit | 4dca046894a4396afdf276d134340a11b7640bed (patch) | |
tree | ea41736998bde14fb9c42c3cf3dcbd14261cea98 | |
parent | 745cd79aa9468f24638f6909589ede7150fde7b6 (diff) | |
download | csr-framework-tizen_7.0_hotfix.tar.gz csr-framework-tizen_7.0_hotfix.tar.bz2 csr-framework-tizen_7.0_hotfix.zip |
Apply changed gcov pathtizen_7.0_m2_releasesubmit/tizen/20220621.061149submit/tizen/20220615.045728submit/tizen/20220609.064711accepted/tizen/unified/20220622.134020accepted/tizen/7.0/unified/hotfix/20221116.110659accepted/tizen/7.0/unified/20221110.060043tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: Iae56871e012126d4511ac6612c9771294ced2bdd
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
-rw-r--r-- | packaging/csr-framework.spec | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/packaging/csr-framework.spec b/packaging/csr-framework.spec index 2ae1290..aaa517c 100644 --- a/packaging/csr-framework.spec +++ b/packaging/csr-framework.spec @@ -194,11 +194,6 @@ export LDFLAGS+=" -lgcov" make %{?jobs:-j%jobs} -%if 0%{?gcov:1} -mkdir -p gcov-obj -find . -name '*.gcno' -exec cp '{}' gcov-obj ';' -%endif - %install %make_install %install_service sockets.target.wants %{service_name}-cs.socket @@ -216,8 +211,10 @@ mkdir -p %{buildroot}%{engine_rw_working_dir} %find_lang %{service_name} %if 0%{?gcov:1} -mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name} -install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name} +builddir=$(basename $PWD) +gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir" +mkdir -p "$gcno_obj_dir" +find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';' %endif %post |