diff mbox series

[ethtool] ethtool.spec: Add bash completion script

Message ID 20200803132338.221961-1-roid@mellanox.com
State Accepted
Delegated to: Michal Kubecek
Headers show
Series [ethtool] ethtool.spec: Add bash completion script | expand

Commit Message

Roi Dayan Aug. 3, 2020, 1:23 p.m. UTC
After the additon of the bash completion script, packaging
using the default spec file fails for installed but not packaged
error. so package it.

Fixes: 9b802643d7bd ("ethtool: Add bash-completion script")
Signed-off-by: Roi Dayan <roid@mellanox.com>
---
 ethtool.spec.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Michal Kubecek Aug. 4, 2020, 1:12 p.m. UTC | #1
On Mon, Aug 03, 2020 at 04:23:38PM +0300, Roi Dayan wrote:
> After the additon of the bash completion script, packaging
> using the default spec file fails for installed but not packaged
> error. so package it.
> 
> Fixes: 9b802643d7bd ("ethtool: Add bash-completion script")
> Signed-off-by: Roi Dayan <roid@mellanox.com>

Applied, thank you. We are using a heavily modified specfile in openSUSE
so I never noticed. Added rpmbuild to my check script now.

Michal

> ---
>  ethtool.spec.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ethtool.spec.in b/ethtool.spec.in
> index 9c01b07abf2b..75f9be6aafa6 100644
> --- a/ethtool.spec.in
> +++ b/ethtool.spec.in
> @@ -34,6 +34,7 @@ make install DESTDIR=${RPM_BUILD_ROOT}
>  %defattr(-,root,root)
>  %{_sbindir}/ethtool
>  %{_mandir}/man8/ethtool.8*
> +%{_datadir}/bash-completion/completions/ethtool
>  %doc AUTHORS COPYING NEWS README
>  
>  
> -- 
> 2.8.4
>
diff mbox series

Patch

diff --git a/ethtool.spec.in b/ethtool.spec.in
index 9c01b07abf2b..75f9be6aafa6 100644
--- a/ethtool.spec.in
+++ b/ethtool.spec.in
@@ -34,6 +34,7 @@  make install DESTDIR=${RPM_BUILD_ROOT}
 %defattr(-,root,root)
 %{_sbindir}/ethtool
 %{_mandir}/man8/ethtool.8*
+%{_datadir}/bash-completion/completions/ethtool
 %doc AUTHORS COPYING NEWS README