From patchwork Wed Nov 23 23:35:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9444513 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 1BADA600BA for ; Thu, 24 Nov 2016 00:02:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1920127D7F for ; Thu, 24 Nov 2016 00:02:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C9A327DF9; Thu, 24 Nov 2016 00:02:13 +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 AF8AC27D7F for ; Thu, 24 Nov 2016 00:02:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935017AbcKXACL (ORCPT ); Wed, 23 Nov 2016 19:02:11 -0500 Received: from quartz.orcorp.ca ([184.70.90.242]:39406 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933483AbcKXACL (ORCPT ); Wed, 23 Nov 2016 19:02:11 -0500 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=E4gG3Kh2ykZrqN1HJhiCrcAry6WDIxqYlcPoKZ18+6s=; b=zKn9Ji/20s32ihzG81JTecCwZ83Z+jK40y2YsknQOxa8WrYaKXqxeSZm1WVQpu/4cz1gdk4Y0HZ/sDwf9kLtdXvOZpeKElagYHGYjL+P4aNa9oBOFD2W2lFVbpSOklYH8M8tIXrLyPC/sV2XTPq2l8SF8CwBDH8GMhBy4Trrv3s=; Received: from [10.0.0.151] (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 1c9h4F-0007U9-JO for linux-rdma@vger.kernel.org; Wed, 23 Nov 2016 16:35:07 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Subject: [PATCH rdma-core 5/6] Avoid rpmbuild warning Date: Wed, 23 Nov 2016 16:35:03 -0700 Message-Id: <1479944104-19949-6-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1479944104-19949-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1479944104-19949-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.151 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 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 --- 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