From patchwork Fri Mar 11 17:44:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 8568241 Return-Path: X-Original-To: patchwork-linux-nvdimm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94448C0553 for ; Fri, 11 Mar 2016 17:44:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C414420272 for ; Fri, 11 Mar 2016 17:44:57 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A5682026F for ; Fri, 11 Mar 2016 17:44:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 28E001A1E4D; Fri, 11 Mar 2016 09:45:12 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ml01.01.org (Postfix) with ESMTP id 6C9F51A1E4D for ; Fri, 11 Mar 2016 09:45:11 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP; 11 Mar 2016 09:44:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,321,1455004800"; d="scan'208";a="64413172" Received: from dwillia2-desk3.jf.intel.com ([10.54.39.14]) by fmsmga004.fm.intel.com with ESMTP; 11 Mar 2016 09:44:55 -0800 Subject: [ndctl PATCH] ndctl: remove %defattr from spec file template From: Dan Williams To: linux-nvdimm@lists.01.org Date: Fri, 11 Mar 2016 09:44:28 -0800 Message-ID: <20160311174428.33053.76522.stgit@dwillia2-desk3.jf.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 Cc: Ralf Corsepius X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Per Ralf Corsepius: "Except if you want to support very outdated distros (IIRC, < rhel5), %defattr(-,root,root) is not necessary, anymore and should not be used in specs anymore." Reported-by: Ralf Corsepius Signed-off-by: Dan Williams --- ndctl.spec.in | 3 --- 1 file changed, 3 deletions(-) diff --git a/ndctl.spec.in b/ndctl.spec.in index e24b31cc54f0..6f6e99bd743b 100644 --- a/ndctl.spec.in +++ b/ndctl.spec.in @@ -65,19 +65,16 @@ make check %postun -n LNAME -p /sbin/ldconfig %files -%defattr(-,root,root) %license licenses/GPLv2 licenses/BSD-MIT licenses/CC0 %{_bindir}/ndctl %{_mandir}/man1/* %files -n LNAME -%defattr(-,root,root) %doc README.md %license COPYING licenses/BSD-MIT licenses/CC0 %{_libdir}/libndctl.so.* %files -n DNAME -%defattr(-,root,root) %license COPYING %{_includedir}/ndctl/ %{_libdir}/libndctl.so