From patchwork Mon Jul 24 20:00:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9860219 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D93E260349 for ; Mon, 24 Jul 2017 20:00:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCF2C2859E for ; Mon, 24 Jul 2017 20:00:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1DC9285A2; Mon, 24 Jul 2017 20:00:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 716402859E for ; Mon, 24 Jul 2017 20:00:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873AbdGXUAu (ORCPT ); Mon, 24 Jul 2017 16:00:50 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:52318 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbdGXUAl (ORCPT ); Mon, 24 Jul 2017 16:00:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obsidianresearch.com; s=rsa1; h=References:In-Reply-To:Message-Id:Date:Subject:To:From; bh=/VTtR0JeNmKjgivBQVdr7OESiMQg/u2s+F7no9gcXkI=; b=AHt4fXrjW030cWwWDSsewNnPdG88UuWXIZA31EHUIjv2PADwR3rHVkE3ohhaUk2VXcpe93sjyuH5SvnQYsiM4WiZtT/r6pbHQ1hq7m+HyDMryqYnls2y28w1ESWRtTgzYYH7T4bNakikUN3/ej9UEaPTRZOMz7zTgyH8kWD8Khg=; Received: from [10.0.0.156] (helo=jggl.edm.orcorp.ca) by quartz.orcorp.ca with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dZjWw-0001rL-Mi; Mon, 24 Jul 2017 14:00:38 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org, Leon Romanovsky , Doug Ledford , Benjamin Drung , Jarod Wilson Subject: [PATCH rdma-core 01/21] srp: Fix redhat packaging Date: Mon, 24 Jul 2017 14:00:09 -0600 Message-Id: <1500926429-31822-2-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500926429-31822-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1500926429-31822-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.156 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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