Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Han Han <hhan@redhat.com>
To: linux-nvme@lists.infradead.org
Cc: kbusch@kernel.org, Han Han <hhan@redhat.com>
Subject: [PATCH 2/2] spec: Fix the sub-include dir name to nvme
Date: Tue, 20 Oct 2020 21:49:21 +0800	[thread overview]
Message-ID: <20201020134921.270042-3-hhan@redhat.com> (raw)
In-Reply-To: <20201020134921.270042-1-hhan@redhat.com>

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

  parent reply	other threads:[~2020-10-20 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-10-20 14:58 ` [PATCH libnvme 0/2] Two fixes for the rpmbuild spec Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201020134921.270042-3-hhan@redhat.com \
    --to=hhan@redhat.com \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox