From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEC3C158090 for ; Sat, 7 May 2022 17:17:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC58EE07D4; Sat, 7 May 2022 17:17:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A0E3AE07D4 for ; Sat, 7 May 2022 17:17:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 87BC2341849 for ; Sat, 7 May 2022 17:17:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3DE7430 for ; Sat, 7 May 2022 17:17:30 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1651943849.feca5e2704326173cd4030ffa95b6ce7f0a645d9.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/util-linux/util-linux-2.38.ebuild sys-apps/util-linux/util-linux-9999.ebuild X-VCS-Directories: sys-apps/util-linux/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: feca5e2704326173cd4030ffa95b6ce7f0a645d9 X-VCS-Branch: master Date: Sat, 7 May 2022 17:17:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1462fb5-e54b-43b7-bf4c-c08906752137 X-Archives-Hash: d099363ae61eaf95d934ba9dddcd7271 commit: feca5e2704326173cd4030ffa95b6ce7f0a645d9 Author: Mike Gilbert gentoo org> AuthorDate: Tue Apr 26 20:45:32 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat May 7 17:17:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feca5e27 sys-apps/util-linux: set QA_PKGCONFIG_VERSION Signed-off-by: Mike Gilbert gentoo.org> sys-apps/util-linux/util-linux-2.38.ebuild | 6 ++++++ sys-apps/util-linux/util-linux-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sys-apps/util-linux/util-linux-2.38.ebuild b/sys-apps/util-linux/util-linux-2.38.ebuild index 0f9b305525df..d125ee135b9c 100644 --- a/sys-apps/util-linux/util-linux-2.38.ebuild +++ b/sys-apps/util-linux/util-linux-2.38.ebuild @@ -374,6 +374,12 @@ multilib_src_install_all() { # This triggers a known QA warning which we ignore for now to magically # keep bash completion for "su" command which shadow package does not # provide. + + local ver=$(tools/git-version-gen .tarballversion) + local major=$(ver_cut 1 ${ver}) + local minor=$(ver_cut 2 ${ver}) + local release=$(ver_cut 3 ${ver}) + export QA_PKGCONFIG_VERSION="${major}.${minor}.${release:-0}" } pkg_postinst() { diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild index 68bb10664cf1..60535b687ba6 100644 --- a/sys-apps/util-linux/util-linux-9999.ebuild +++ b/sys-apps/util-linux/util-linux-9999.ebuild @@ -374,6 +374,12 @@ multilib_src_install_all() { # This triggers a known QA warning which we ignore for now to magically # keep bash completion for "su" command which shadow package does not # provide. + + local ver=$(tools/git-version-gen .tarballversion) + local major=$(ver_cut 1 ${ver}) + local minor=$(ver_cut 2 ${ver}) + local release=$(ver_cut 3 ${ver}) + export QA_PKGCONFIG_VERSION="${major}.${minor}.${release:-0}" } pkg_postinst() {