diff mbox series

[ethtool] ethtool.spec: Add bash completion script

Message ID 20200803132338.221961-1-roid@mellanox.com
State New
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(+)
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