Accepting request 1010202 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1010202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftool?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2022-10-14 13:40:36 +00:00 committed by Git OBS Bridge
commit 63df1d6e27
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 7 16:22:21 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Move bash-completion to subpackage so it isn't installed when
not needed
-------------------------------------------------------------------
Fri Apr 8 15:15:39 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -33,6 +33,16 @@ BuildRequires: libelf-devel
bpftool allows for inspection and simple modification of BPF objects (programs
and maps) on the system.
%package bash-completion
Summary: Bash completion for bpftool
Group: System/Shells
Requires: bash-completion
Requires: %{name}
Supplements: (%{name} and bash-completion)
%description bash-completion
bash command line completion support for bpftool.
%package rebuild
Summary: Empty package to ensure rebuilding bpftool in OBS
Group: System/Monitoring
@ -65,9 +75,11 @@ make install doc-install DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir
%files
%license GPL-2.0
%{_sbindir}/bpftool
%{_datadir}/bash-completion/completions/bpftool
%{_mandir}/man?/*.gz
%files bash-completion
%{_datadir}/bash-completion/completions/bpftool
%files rebuild
%license GPL-2.0