From 30ab7cc0f2dc6428ac5652e5661b211524716fa0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Tue, 25 Feb 2025 12:33:57 +0100 Subject: [PATCH] app-arch/gzip: Sync with Gentoo It's from Gentoo commit 3a52a62a98f8f0101d7b33fc615790fb0368d29a. --- .../app-arch/gzip/gzip-1.13-r1.ebuild | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/app-arch/gzip/gzip-1.13-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/gzip/gzip-1.13-r1.ebuild index 376a342bae..6a5ffb05ff 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/gzip/gzip-1.13-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-arch/gzip/gzip-1.13-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gzip.asc -inherit flag-o-matic verify-sig +inherit eapi9-ver flag-o-matic verify-sig DESCRIPTION="Standard GNU compressor" HOMEPAGE="https://www.gnu.org/software/gzip/" @@ -80,14 +80,9 @@ src_install() { } pkg_postinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - local ver - for ver in ${REPLACING_VERSIONS}; do - if ver_test "${ver}" -lt "1.12-r2"; then - ewarn "This package no longer installs 'uncompress'." - ewarn "Please use 'gzip -d' to decompress .Z files." - fi - done + if ver_replacing -lt "1.12-r2"; then + ewarn "This package no longer installs 'uncompress'." + ewarn "Please use 'gzip -d' to decompress .Z files." fi # ensure to preserve the symlinks before app-alternatives/gzip