diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-04-26 16:45:32 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-05-07 13:17:29 -0400 |
commit | feca5e2704326173cd4030ffa95b6ce7f0a645d9 (patch) | |
tree | ecd45a7c5d237d909a3680ce8a71a2ce8382a479 /sys-apps | |
parent | sys-apps/nvme-cli: drop 1.14, 1.15-r1 (diff) | |
download | gentoo-feca5e2704326173cd4030ffa95b6ce7f0a645d9.tar.gz gentoo-feca5e2704326173cd4030ffa95b6ce7f0a645d9.tar.bz2 gentoo-feca5e2704326173cd4030ffa95b6ce7f0a645d9.zip |
sys-apps/util-linux: set QA_PKGCONFIG_VERSION
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/util-linux/util-linux-2.38.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
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() { |