]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
spec: Fix the sub-include dir name to nvme
authorHan Han <hhan@redhat.com>
Tue, 20 Oct 2020 13:49:21 +0000 (21:49 +0800)
committerKeith Busch <kbusch@kernel.org>
Tue, 20 Oct 2020 14:57:57 +0000 (07:57 -0700)
It will fix the error of "libnvme/ dir is not found":
$ rpmbuild -ba ~/rpmbuild/SPECS/libnvme.spec
...
error: Directory not found:
/home/hhan/rpmbuild/BUILDROOT/libnvme-0.1-0.x86_64/usr/include/libnvme

Signed-off-by: Han Han <hhan@redhat.com>
libnvme.spec

index 80d66e9e86b593e9ce16cf8bba86fc25bdc907fb..9708084f88f44231c3966d38fa16ea7b1a3ec883 100644 (file)
@@ -39,7 +39,7 @@ for Linux-native nvme device maangement.
 
 %files devel
 %defattr(-,root,root)
-%attr(-,root,root) %{_includedir}/libnvme/
+%attr(-,root,root) %{_includedir}/nvme/
 %attr(0644,root,root) %{_includedir}/libnvme.h
 %attr(0755,root,root) %{_libdir}/libnvme.so
 %attr(0644,root,root) %{_libdir}/libnvme.a