From patchwork Sun Dec 19 17:58:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morten Linderud X-Patchwork-Id: 1996 Return-Path: Delivered-To: patchwork@archlinux.org Received: from mail.archlinux.org [2a01:4f9:c010:3052::1] by patchwork.archlinux.org with IMAP (fetchmail-6.4.24) for (single-drop); Sun, 19 Dec 2021 17:58:42 +0000 (UTC) Received: from mail.archlinux.org by mail.archlinux.org with LMTP id iON+AdJyv2Ep3wkAK+/4rw (envelope-from ) for ; Sun, 19 Dec 2021 17:58:42 +0000 Received: from lists.archlinux.org (lists.archlinux.org [IPv6:2a01:4f9:c010:9eb4::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.archlinux.org (Postfix) with ESMTPS id 98D8EB71E65; Sun, 19 Dec 2021 17:58:40 +0000 (UTC) Received: from lists.archlinux.org (localhost [IPv6:::1]) by lists.archlinux.org (Postfix) with ESMTP id 68E3AABEE85; Sun, 19 Dec 2021 17:58:40 +0000 (UTC) X-Original-To: pacman-dev@lists.archlinux.org Delivered-To: pacman-dev@lists.archlinux.org Received: from mail.archlinux.org (mail.archlinux.org [95.216.189.61]) by lists.archlinux.org (Postfix) with ESMTPS id B0895ABEE76 for ; Sun, 19 Dec 2021 17:58:37 +0000 (UTC) From: Morten Linderud DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-rsa; t=1639936717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BA89U6rGX+NEWlyWcGzwMkTwyjsSGYxMYRqziZCzBLA=; b=h5/aVQDTp9Qy7OTpWCbhBOix6CgsQrfSHowFw1p1QhS+MabeP7f439k/QwW81p+SNZSTps kE0YFwzEeLtwpopw/glO0PCkoxLTFhc9WJEUQt2+tag54aBfMGG3LLYwO4xg6tulytGOok OHNvD587BUmFlnkApW3AomHsmOOePd5+R8NUuoc+4W8LmnhGVML86NKMJitEMu02MbL4TX STsHOSEIr9QkCy6m1+aeybd0qExwp3mIRDUijreHRZRf19fRdWWmWXbHtnBfQYjrKAxuwB 6K6QM1E7y2mXlVPk0HaKcb1UWS1Duhf/97a3nVFwFCNWAzW4PiT4Bzmj42iyU8BvBYPJpt vAZmKaY5g3HpzZzQE0DeSdPOnyrpXAL2SOmJ3eWL9HNqHvvoSpRo7UYg+vvGvsBmEj0bw0 OFb83SPAFUssov6JlwVn+hXQd1sdBhkknx2pYNMEiMRRWwMXvWtrNfFvEz7OvwbYuWKC40 0DjCEYZvTCZPeA4HGjqex3FUFnqnFyGRd+9shcF0SLHl993sW4P1uwklynKYkXpQ5p6S2V KGovW5u5bnhnt8lhMGKQRzI/uC9IauGIgzOTjjql7ixo4mxIezM0Gj5JWljc4y+d3twrxv dxorKS7n2DM/GeLXWQKJ8xMYSTgN/hjZVv9DwBt/+I/2K/ZeIkJDo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-ed25519; t=1639936717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BA89U6rGX+NEWlyWcGzwMkTwyjsSGYxMYRqziZCzBLA=; b=DMnR00K/Y1pPJNXjM00DmeJlEh8wUC+9OZZcOOrDwhCukTaWMmv4YOhzDNPemIQ3P5FIF3 k6NVo7u1CYrl63Ag== To: pacman-dev@lists.archlinux.org Cc: Morten Linderud Subject: [PATCH] makepkg: Use pkgbase in pkgdesc for debug packages Date: Sun, 19 Dec 2021 18:58:25 +0100 Message-Id: <20211219175825.546399-1-foxboron@archlinux.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: pacman-dev@lists.archlinux.org X-Mailman-Version: 2.1.38 Precedence: list List-Id: Discussion list for pacman development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: pacman-dev-bounces@lists.archlinux.org Sender: "pacman-dev" Authentication-Results: mail.archlinux.org; dkim=pass header.d=archlinux.org header.s=dkim-rsa header.b="h5/aVQDT"; dkim=pass header.d=archlinux.org header.s=dkim-ed25519 header.b="DMnR00K/"; dmarc=pass (policy=none) header.from=archlinux.org; spf=pass (mail.archlinux.org: domain of pacman-dev-bounces@lists.archlinux.org designates 2a01:4f9:c010:9eb4::1 as permitted sender) smtp.mailfrom=pacman-dev-bounces@lists.archlinux.org X-Rspamd-Queue-Id: 98D8EB71E65 X-Spamd-Result: default: False [-2.61 / 15.00]; DWL_DNSWL_MED(-2.00)[archlinux.org:dkim]; MID_CONTAINS_FROM(1.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[archlinux.org,none]; R_MISSING_CHARSET(0.50)[]; RCVD_IN_DNSWL_MED(-0.40)[95.216.189.61:received,2a01:4f9:c010:9eb4::1:from]; MAILLIST(-0.20)[mailman]; R_DKIM_ALLOW(-0.20)[archlinux.org:s=dkim-rsa,archlinux.org:s=dkim-ed25519]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f9:c010:9eb4::1:c]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[pacman-dev@lists.archlinux.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f9::/32, country:DE]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[foxboron@archlinux.org,pacman-dev-bounces@lists.archlinux.org]; DKIM_TRACE(0.00)[archlinux.org:+]; MIME_TRACE(0.00)[0:+]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; NEURAL_HAM(-0.00)[-1.000]; FORGED_SENDER_MAILLIST(0.00)[] X-Rspamd-Server: mail.archlinux.org From: Morten Linderud When trying to identify debug packages among other packages we discovered that it's pkgname used in pkgdesc. Since pkgname can sometimes be an array when building debug packages for a split package, this could potentially include a pkgname that might not make sense depending on the order of the array. This patch simply uses pkgbase as it seems more correct. Signed-off-by: Morten Linderud --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9f5fd401..27d3373d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -766,7 +766,7 @@ create_debug_package() { fi done - pkgdesc="Detached debugging symbols for $pkgname" + pkgdesc="Detached debugging symbols for $pkgbase" pkgname=$pkgbase-@DEBUGSUFFIX@ pkgtype=debug