From 7d1708a45b0471753da0a59442e5a1413c335ba0 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Wed, 15 Feb 2023 18:47:28 +0100 Subject: java-utils-2.eclass: default to java-pkg_clean for future EAPI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/797733 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Miroslav Ć ulc --- eclass/java-utils-2.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass') diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 7641f9f40290..07dfbd45bdf6 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1955,6 +1955,12 @@ java-utils-2_src_prepare() { find "${WORKDIR}" -name "*.class" echo "Search done." fi + + # Delete bundled .class and .jar files. + case ${EAPI:-0} in + [678]) ;; + *) java-pkg_clean ;; + esac } # @FUNCTION: java-utils-2_pkg_preinst -- cgit v1.2.3-65-gdbad