diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-02-15 18:47:28 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-02-17 09:03:33 +0100 |
commit | 7d1708a45b0471753da0a59442e5a1413c335ba0 (patch) | |
tree | c964b08688e04ffad1296719b4d9df7c60908be0 /eclass | |
parent | dev-python/pyparted: enable py3.11 (diff) | |
download | gentoo-7d1708a45b0471753da0a59442e5a1413c335ba0.tar.gz gentoo-7d1708a45b0471753da0a59442e5a1413c335ba0.tar.bz2 gentoo-7d1708a45b0471753da0a59442e5a1413c335ba0.zip |
java-utils-2.eclass: default to java-pkg_clean for future EAPI
Bug: https://bugs.gentoo.org/797733
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
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 |