aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2020-08-03 16:23:38 +0300
committerMichal Kubecek <mkubecek@suse.cz>2020-08-04 13:53:59 +0200
commit6fcb4a3276c344a3fdb104633536848bf04f46f3 (patch)
treeddbf990a1642071b0ee5b391663f69c8ec47a9c7
parentbef780467fa7aa95dca3ed5cc3ebb8bec5882f08 (diff)
downloadethtool-6fcb4a3276c344a3fdb104633536848bf04f46f3.tar.gz
ethtool.spec: Add bash completion script
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> Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
-rw-r--r--ethtool.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethtool.spec.in b/ethtool.spec.in
index 9c01b07..75f9be6 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