From patchwork Thu Jan 31 00:35:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Verma, Vishal L" X-Patchwork-Id: 10789443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4CAC913B4 for ; Thu, 31 Jan 2019 00:35:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B5352971F for ; Thu, 31 Jan 2019 00:35:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F9852A216; Thu, 31 Jan 2019 00:35:37 +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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id A45392971F for ; Thu, 31 Jan 2019 00:35:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 63691211C281D; Wed, 30 Jan 2019 16:35:36 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=vishal.l.verma@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F060C2194D3B8 for ; Wed, 30 Jan 2019 16:35:34 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2019 16:35:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,542,1539673200"; d="scan'208";a="112475759" Received: from vverma7-desk1.lm.intel.com ([10.232.112.170]) by orsmga006.jf.intel.com with ESMTP; 30 Jan 2019 16:35:33 -0800 From: Vishal Verma To: Subject: [ndctl PATCH 1/2] ndctl.spec.in: remove obsolete ldconfig scriptlets Date: Wed, 30 Jan 2019 17:35:17 -0700 Message-Id: <20190131003518.10934-1-vishal.l.verma@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Gnatenko Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP From: Igor Gnatenko Pulled in via Fedora packaging. References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko [vishal: update patch so it applies to ndctl.spec.in] Signed-off-by: Vishal Verma --- ndctl.spec.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ndctl.spec.in b/ndctl.spec.in index bc65a47..25d5296 100644 --- a/ndctl.spec.in +++ b/ndctl.spec.in @@ -101,13 +101,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %check make check -%post -n LNAME -p /sbin/ldconfig +%ldconfig_scriptlets -n LNAME -%postun -n LNAME -p /sbin/ldconfig - -%post -n DAX_LNAME -p /sbin/ldconfig - -%postun -n DAX_LNAME -p /sbin/ldconfig +%ldconfig_scriptlets -n DAX_LNAME %define bashcompdir %(pkg-config --variable=completionsdir bash-completion)