diff options
author | jiyong.min <jiyong.min@samsung.com> | 2022-05-26 13:39:40 +0900 |
---|---|---|
committer | jiyong.min <jiyong.min@samsung.com> | 2022-05-26 13:40:06 +0900 |
commit | 65e64efccba9a312d3abb0238d9a35c9e943a2dd (patch) | |
tree | 024d501df453616b9b587e136faa3c459ba234b6 | |
parent | 13e62d00fd0515a2468657f555973178e512c884 (diff) | |
download | media-content-65e64efccba9a312d3abb0238d9a35c9e943a2dd.tar.gz media-content-65e64efccba9a312d3abb0238d9a35c9e943a2dd.tar.bz2 media-content-65e64efccba9a312d3abb0238d9a35c9e943a2dd.zip |
spec: Change the installation path of gcov objectsubmit/tizen/20220526.064806accepted/tizen/unified/20220528.144416
Change-Id: Idf675433130078ddb386b7a517e936935c420ed9
-rw-r--r-- | packaging/capi-content-media-content.spec | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/packaging/capi-content-media-content.spec b/packaging/capi-content-media-content.spec index 647ccd3..223be0e 100644 --- a/packaging/capi-content-media-content.spec +++ b/packaging/capi-content-media-content.spec @@ -1,6 +1,6 @@ Name: capi-content-media-content Summary: A Media content library in Tizen Native API -Version: 0.4.17 +Version: 0.4.18 Release: 0 Group: Multimedia/API License: Apache-2.0 @@ -61,17 +61,14 @@ 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 %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 |