Accepting request 1069158 from home:gmbr3:Active
- Split bash-completion to seperate sub-package OBS-URL: https://build.opensuse.org/request/show/1069158 OBS-URL: https://build.opensuse.org/package/show/network:utilities/ethtool?expand=0&rev=127
This commit is contained in:
parent
ab7340776c
commit
535784fdcf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 3 13:08:27 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- Split bash-completion to seperate sub-package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 21 15:00:27 UTC 2023 - Michal Kubecek <mkubecek@suse.cz>
|
Tue Feb 21 15:00:27 UTC 2023 - Michal Kubecek <mkubecek@suse.cz>
|
||||||
|
|
||||||
|
23
ethtool.spec
23
ethtool.spec
@ -37,6 +37,20 @@ BuildRequires: pkgconfig(libmnl)
|
|||||||
Ethtool is a small utility for examining and tuning ethernet-based
|
Ethtool is a small utility for examining and tuning ethernet-based
|
||||||
network interfaces. See the man page for more details.
|
network interfaces. See the man page for more details.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash completion for ethtool
|
||||||
|
Group: System/Shells
|
||||||
|
Requires: %{name}
|
||||||
|
Requires: bash-completion
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
Supplements: (%{name} and bash-completion)
|
||||||
|
%else
|
||||||
|
Supplements: packageand(%{name}:bash-completion)
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
bash command line completion support for ethtool.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -54,9 +68,6 @@ make install DESTDIR="%buildroot"
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/ethtool
|
%{_sbindir}/ethtool
|
||||||
%dir %{_datadir}/bash-completion
|
|
||||||
%dir %{_datadir}/bash-completion/completions
|
|
||||||
%{_datadir}/bash-completion/completions/ethtool
|
|
||||||
%{_mandir}/man8/ethtool.8*
|
%{_mandir}/man8/ethtool.8*
|
||||||
%if (0%{?suse_version} >= 1500) || (0%{?sle_version} >= 120300)
|
%if (0%{?suse_version} >= 1500) || (0%{?sle_version} >= 120300)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -65,4 +76,10 @@ make install DESTDIR="%buildroot"
|
|||||||
%endif
|
%endif
|
||||||
%doc AUTHORS NEWS
|
%doc AUTHORS NEWS
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/bash-completion
|
||||||
|
%dir %{_datadir}/bash-completion/completions
|
||||||
|
%{_datadir}/bash-completion/completions/ethtool
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user