@@ -91,6 +91,9 @@ This is a simple example without the split sub packages to get things started.
%install
%cmake_install
+mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}
+install -m0644 Documentation/{ibacm,ibsrpdm,libibcm,libibverbs,librdmacm,rxe}.md %{buildroot}/%{_docdir}/%{name}-%{version}/
+
%if 0%{?_unitdir:1}
rm -rf %{buildroot}/%{_initrddir}/
%else
@@ -110,6 +113,7 @@ rm -rf %{buildroot}/%{my_unitdir}/
%{_libdir}/rsocket/*
%{_sbindir}/*
%{_libexecdir}/*
+%{_docdir}/%{name}-%{version}/*
%if 0%{?_unitdir:1}
%{_unitdir}/*
%else
At least in the Red Hat world, we like to install the documentation files provided in a given source tree. Signed-off-by: Jarod Wilson <jarod@redhat.com> --- rdma-core.spec | 4 ++++ 1 file changed, 4 insertions(+)