Linux-NVME Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH libnvme 0/2] Two fixes for the rpmbuild spec
@ 2020-10-20 13:49 Han Han
  2020-10-20 13:49 ` [PATCH 1/2] spec: Use the correct url of libnvme Han Han
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Han Han @ 2020-10-20 13:49 UTC (permalink / raw)
  To: linux-nvme; +Cc: kbusch, Han Han

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(-)

-- 
2.26.2


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] spec: Use the correct url of libnvme
  2020-10-20 13:49 [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Han Han
@ 2020-10-20 13:49 ` Han Han
  2020-10-20 13:49 ` [PATCH 2/2] spec: Fix the sub-include dir name to nvme Han Han
  2020-10-20 14:58 ` [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Keith Busch
  2 siblings, 0 replies; 4+ messages in thread
From: Han Han @ 2020-10-20 13:49 UTC (permalink / raw)
  To: linux-nvme; +Cc: kbusch, Han Han

Signed-off-by: Han Han <hhan@redhat.com>
---
 libnvme.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libnvme.spec b/libnvme.spec
index f3407d8..80d66e9 100644
--- a/libnvme.spec
+++ b/libnvme.spec
@@ -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
-- 
2.26.2


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] spec: Fix the sub-include dir name to nvme
  2020-10-20 13:49 [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Han Han
  2020-10-20 13:49 ` [PATCH 1/2] spec: Use the correct url of libnvme Han Han
@ 2020-10-20 13:49 ` Han Han
  2020-10-20 14:58 ` [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Keith Busch
  2 siblings, 0 replies; 4+ messages in thread
From: Han Han @ 2020-10-20 13:49 UTC (permalink / raw)
  To: linux-nvme; +Cc: kbusch, 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

Signed-off-by: Han Han <hhan@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


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH libnvme 0/2] Two fixes for the rpmbuild spec
  2020-10-20 13:49 [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Han Han
  2020-10-20 13:49 ` [PATCH 1/2] spec: Use the correct url of libnvme Han Han
  2020-10-20 13:49 ` [PATCH 2/2] spec: Fix the sub-include dir name to nvme Han Han
@ 2020-10-20 14:58 ` Keith Busch
  2 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2020-10-20 14:58 UTC (permalink / raw)
  To: Han Han; +Cc: linux-nvme

Thank you, patches applied.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20 13:49 [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Han Han
2020-10-20 13:49 ` [PATCH 1/2] spec: Use the correct url of libnvme Han Han
2020-10-20 13:49 ` [PATCH 2/2] spec: Fix the sub-include dir name to nvme Han Han
2020-10-20 14:58 ` [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Keith Busch

Linux-NVME Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nvme/0 linux-nvme/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nvme linux-nvme/ https://lore.kernel.org/linux-nvme \
		linux-nvme@lists.infradead.org
	public-inbox-index linux-nvme

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-nvme


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git