eclass/preserve-libs: Sync with Gentoo

It's from Gentoo commit d7f5236d748d12d412ef1df9d5b392c0c671a8cb.
This commit is contained in:
Flatcar Buildbot 2023-04-24 07:14:18 +00:00 committed by Krzesimir Nowak
parent 769eda7161
commit db7f7f45bc

View File

@ -1,14 +1,14 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: preserve-libs.eclass # @ECLASS: preserve-libs.eclass
# @MAINTAINER: # @MAINTAINER:
# base-system@gentoo.org # base-system@gentoo.org
# @SUPPORTED_EAPIS: 5 6 7 # @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: preserve libraries after SONAME changes # @BLURB: preserve libraries after SONAME changes
case ${EAPI} in case ${EAPI} in
5|6|7) ;; 5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac esac