Skip to contentSkip to conversation

Two fixes for the rpmbuild spec

PATCH In review Han Han 2 participants 4 messages Oct 20, 2020 NVMe

lore
Share & tools
lore

Han Han

author
#0 lore raw

cover Two fixes for the rpmbuild spec

Han Han (2):
spec: Use the correct url of libnvme
spec: Fix the sub-include dir name to nvme

 libnvme.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 7 lines
2.26.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
author
#1 lore raw

PATCH 1/2 spec: Use the correct url of libnvme

---
 libnvme.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libnvme.spec +1 -1
index f3407d8..80d66e9 100644
@@ -5,7 +5,7 @@ Summary: Linux-native nvme device management library
 License: LGPLv2+
 Source: %{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-root
-URL: http://github.com/linux-nvme/nvme-cli
+URL: http://github.com/linux-nvme/libnvme
 BuildRequires: gcc
 
 %description
Signature · 7 lines
2.26.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
author
#2 lore raw

PATCH 2/2 spec: Fix the sub-include dir name to nvme

In reply to Han Han

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
---
 libnvme.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libnvme.spec +1 -1
index 80d66e9..9708084 100644
@@ -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
Signature · 7 lines
2.26.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme