From 3592d5ced55576aacfa0e59f64f1b134d6c4e4c4 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Fri, 25 Nov 2022 19:33:11 +0800 Subject: [PATCH] dist: use more wildcard for file list Upstream: no Some utils are trivial and may change, so use wildcard to match them. Signed-off-by: Kairui Song --- dist/templates/kernel.template.spec | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/dist/templates/kernel.template.spec b/dist/templates/kernel.template.spec index 327d315af..580eb9ec8 100644 --- a/dist/templates/kernel.template.spec +++ b/dist/templates/kernel.template.spec @@ -1310,8 +1310,7 @@ fi %{_bindir}/iio_generic_buffer %{_bindir}/lsiio %{_bindir}/lsgpio -%{_bindir}/gpio-hammer -%{_bindir}/gpio-event-mon +%{_bindir}/gpio-* %{_bindir}/page_owner_sort %{_bindir}/slabinfo @@ -1337,18 +1336,8 @@ fi %defattr(-,root,root) %{_sbindir}/bpftool %{_sysconfdir}/bash_completion.d/bpftool -%{_mandir}/man8/bpftool-cgroup.8.gz -%{_mandir}/man8/bpftool-gen.8.gz -%{_mandir}/man8/bpftool-iter.8.gz -%{_mandir}/man8/bpftool-link.8.gz -%{_mandir}/man8/bpftool-map.8.gz -%{_mandir}/man8/bpftool-prog.8.gz -%{_mandir}/man8/bpftool-perf.8.gz %{_mandir}/man8/bpftool.8.gz -%{_mandir}/man8/bpftool-net.8.gz -%{_mandir}/man8/bpftool-feature.8.gz -%{_mandir}/man8/bpftool-btf.8.gz -%{_mandir}/man8/bpftool-struct_ops.8.gz +%{_mandir}/man8/bpftool-*.8.gz %{_mandir}/man7/bpf-helpers.7.gz %if %{with_debuginfo}