summaryrefslogtreecommitdiff
path: root/packaging/ttrace.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ttrace.spec')
-rw-r--r--packaging/ttrace.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index 9ebeaeb..b6a1184 100644
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -115,6 +115,7 @@ cp %{SOURCE103} %{buildroot}%{_bindir}
builddir=$(basename $PWD)
gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir"
mkdir -p "$gcno_obj_dir"
+find . -name 'atrace.cpp.gcno' -exec rm {} \;
find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';'
%endif