[PATCH 2/2] spec: Fix the sub-include dir name to nvme
Han Han
hhan at redhat.com
Tue Oct 20 09:49:21 EDT 2020
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 at redhat.com>
---
libnvme.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libnvme.spec b/libnvme.spec
index 80d66e9..9708084 100644
--- a/libnvme.spec
+++ b/libnvme.spec
@@ -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
--
2.26.2
More information about the Linux-nvme
mailing list