]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme.spec.in : fix bash completion path, require
authorEyal Ben David <eyalbe@il.ibm.com>
Mon, 15 Oct 2018 16:10:46 +0000 (19:10 +0300)
committerEyal Ben David <eyalbe@il.ibm.com>
Mon, 15 Oct 2018 16:10:46 +0000 (19:10 +0300)
nvme.spec.in

index 0be61e398fd0de57c6f790849d112a01009b0d32..eb5ed6774b6bbe3c490e6a90a005281fb0eb14b9 100644 (file)
@@ -7,7 +7,7 @@ Group:          Development/Tools
 URL:           https://github.com/linux-nvme/nvme-cli/
 Source:        nvme-@@VERSION@@.tar.gz
 Provides:      nvme
-Requires(post): uuidgen
+Requires(post): util-linux
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 
 %description
@@ -29,7 +29,7 @@ make install DESTDIR=%{buildroot} PREFIX=/usr
 %doc Documentation/nvme*.1
 %{_sbindir}/nvme
 %{_mandir}/man1/nvme*.1*
-%{_datadir}/bash_completion.d/nvme
+%{_datadir}/bash-completion/completions/nvme
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,5 +55,8 @@ if [ "$1" = "remove" ]; then
        fi
 fi
 %changelog
+* Mon Oct 15 2018 Eyal Ben-David <eyalbe@il.ibm.com> - 1.6.81.g899a-2
+- bash-completion check
+
 * Thu Oct 15 2015 Keith Busch <keith.busch@intel.com>
 - Initial RPM spec