[0.3.152] exclude internal gcno file 39/285239/1
authorEunhye Choi <eunhae1.choi@samsung.com>
Thu, 8 Dec 2022 04:34:04 +0000 (13:34 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Thu, 8 Dec 2022 04:34:07 +0000 (13:34 +0900)
- exclude internal gcno file from gcov rpm

Change-Id: Iddf99bf880f41507da22fb65f9885924aaebbfdb

packaging/capi-media-player.spec

index 4f59462..1843a3e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.151
+Version:    0.3.152
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -96,7 +96,7 @@ cp test/player_audio_test %{buildroot}/usr/bin
 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' ! -name '*internal*' -exec cp --parents '{}' "$gcno_obj_dir" ';'
 %endif
 
 %post -p /sbin/ldconfig