rpmspec: drop traceevent files instead of just excluding them from files list

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1967640

Even if we build perf dynamically against libtraceevent present on the system,
it still builds traceevent plugins. If we only exclude the files from
the perf package, to not conflict with libtraceevent package, its debug files
will still get included in the kernel-debuginfo package. We don't want that,
since libtraceevent already should ship plugins and its debuginfo. Thus
remove all traceevent files instead of partially excluding them through
rpm's package file list, any files there should already ship with
libtraceevent related packages.

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>

Merge request reports

Loading