diff mbox

[rdma-core,5/6] Avoid rpmbuild warning

Message ID 1479944104-19949-6-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jason Gunthorpe Nov. 23, 2016, 11:35 p.m. UTC
There is already a catch all for this directory

warning: File listed twice: /usr/share/doc/packages/rdma-core-12/MAINTAINERS
warning: File listed twice: /usr/share/doc/packages/rdma-core-12/README.md

Fixes: 8df5873b969f ("Install end user focused documentation files")
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
 rdma-core.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox

Patch

diff --git a/rdma-core.spec b/rdma-core.spec
index 8c0b50da7645ee..bdb64c6bb80567 100644
--- a/rdma-core.spec
+++ b/rdma-core.spec
@@ -118,8 +118,6 @@  rm -rf %{buildroot}/%{my_unitdir}/
 
 %files
 %doc %{_mandir}/man*/*
-%doc %{_docdir}/%{name}-%{version}/README.md
-%doc %{_docdir}/%{name}-%{version}/MAINTAINERS
 %{_bindir}/*
 %{_includedir}/*
 %{_libdir}/lib*.so*
@@ -129,7 +127,7 @@  rm -rf %{buildroot}/%{my_unitdir}/
 %{_sbindir}/*
 %{_libexecdir}/*
 %{_udevrulesdir}/*
-%{_docdir}/%{name}-%{version}/*
+%doc %{_docdir}/%{name}-%{version}/*
 %if 0%{?_unitdir:1}
 %{_unitdir}/*
 %else