From: Seungbae Shin Date: Fri, 24 Feb 2023 08:02:46 +0000 (+0900) Subject: Exclude gcno of internal code in gcov package X-Git-Tag: accepted/tizen/unified/20230227.152736^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=faafbe822d651663caab07d2985ee2a4838c4288;p=platform%2Fcore%2Fapi%2Fsound-manager.git Exclude gcno of internal code in gcov package [Version] 0.7.4 [Issue Type] Gcov Change-Id: Id045786d1b4e91d5febb8a8ae0eae26b7917f042 --- diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index a4a502f..c8798ba 100644 --- a/packaging/capi-media-sound-manager.spec +++ b/packaging/capi-media-sound-manager.spec @@ -1,6 +1,6 @@ Name: capi-media-sound-manager Summary: Sound Manager library -Version: 0.7.3 +Version: 0.7.4 Release: 0 Group: Multimedia/API License: Apache-2.0 @@ -77,7 +77,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` 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" ';' +find . -name '*.gcno' -not -regex ".*\(internal\).*$" -exec cp --parents '{}' "$gcno_obj_dir" ';' %endif %post