diff options
author | Krishna Kant Jaju <krishna.jaju@samsung.com> | 2022-12-27 09:42:14 +0530 |
---|---|---|
committer | Krishna Kant Jaju <krishna.jaju@samsung.com> | 2022-12-27 06:42:43 +0000 |
commit | 5f4b298eede09e70407de4e0f431af809d4bee54 (patch) | |
tree | bfff075b5dfb73077c6cc8d2dde6c8258cbe3fc5 | |
parent | e366a5cc247cafdd34db9ce66b3636199c42097e (diff) | |
download | sync-manager-5f4b298eede09e70407de4e0f431af809d4bee54.tar.gz sync-manager-5f4b298eede09e70407de4e0f431af809d4bee54.tar.bz2 sync-manager-5f4b298eede09e70407de4e0f431af809d4bee54.zip |
Updated Coverage automation formataccepted/tizen/unified/20221228.170012
Change-Id: Ic16b2c56b1384c289ebe5a321dcaf994c1d4f012
Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
-rw-r--r-- | packaging/sync-manager.spec | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/packaging/sync-manager.spec b/packaging/sync-manager.spec index eabb55d..f2f43ce 100644 --- a/packaging/sync-manager.spec +++ b/packaging/sync-manager.spec @@ -2,7 +2,7 @@ %global __provides_exclude_from ^.*\\.extension-calendar Name: sync-service -Version: 0.3.42 +Version: 0.3.43 Release: 1 License: Apache-2.0 Summary: Sync manager daemon @@ -92,16 +92,14 @@ cmake \ -DVERSION=%{version} make %{?jobs:-j%jobs} -%if 0%{?gcov:1} -mkdir -p gcov-obj -find . -name '*.gcno' -exec cp '{}' gcov-obj ';' -%endif %install %make_install %if 0%{?gcov:1} -mkdir -p %{buildroot}%{_datadir}/gcov/obj -install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj +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 mkdir -p %{buildroot}%{_unitdir_user}/delayed.target.wants |