Build fails with: error: Installed (but unpackaged) file(s) found: /usr/sbin/srp_daemon.sh Installed (but unpackaged) file(s) found: /usr/sbin/srp_daemon.sh Since we do not install the init.d script for srp on RH, also delete the srp_daemon.sh, which is now only used by init.d. Fixes: 1c7fe513e3e9 ("srp_daemon: One systemd service per port") Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> --- redhat/rdma-core.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 817013bc4905f8..80a78265d02bfb 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -274,6 +274,7 @@ install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/ # Delete the package's init.d scripts rm -rf %{buildroot}/%{_initrddir}/ +rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh # libibverbs %post -n libibverbs -p /sbin/ldconfig -- 2.7.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