diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2022-05-24 16:34:43 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2022-05-24 16:37:34 +0900 |
commit | 0176775a6715f2c2e9c994740effb65eb5fe055c (patch) | |
tree | c616ccd0b9882be35d6609bb73813bf373647c7f | |
parent | b70e420db06ceb562cc5839bbdda638c6c004bf3 (diff) | |
download | camera-0176775a6715f2c2e9c994740effb65eb5fe055c.tar.gz camera-0176775a6715f2c2e9c994740effb65eb5fe055c.tar.bz2 camera-0176775a6715f2c2e9c994740effb65eb5fe055c.zip |
Update for line coverage measurement automationsubmit/tizen/20220524.122628accepted/tizen/unified/20220525.134548
[Version] 0.4.79-1
[Issue Type] Line coverage
Change-Id: I67f314edefdd4bf4d7f089f7c36025a46a6e1443
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r-- | packaging/capi-media-camera.spec | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index 869b69f..0d543b0 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -1,7 +1,7 @@ Name: capi-media-camera Summary: A Camera API Version: 0.4.79 -Release: 0 +Release: 1 Group: Multimedia/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -85,18 +85,16 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` make %{?jobs:-j%jobs} -%if 0%{?gcov:1} -mkdir -p gcov-obj -find . -name '*.gcno' -exec cp '{}' gcov-obj ';' -%endif %install rm -rf %{buildroot} %make_install %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 -p /sbin/ldconfig |