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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx>
---
 rdma-core.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux