From: David Michael Date: Mon, 20 Apr 2020 14:25:01 +0000 (+0200) Subject: rpm.eclass: use BDEPEND for EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=606c745e611c216df15568bc8655e2781dc11095;p=gentoo.git rpm.eclass: use BDEPEND for EAPI 7 The build system's rpm2tar command is executed during unpack, so it must be install in /. Signed-off-by: David Michael Signed-off-by: Thomas Deutschmann --- diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass index 3a29c7e9f765..d27f0a386c7f 100644 --- a/eclass/rpm.eclass +++ b/eclass/rpm.eclass @@ -8,7 +8,10 @@ inherit estack eutils -DEPEND=">=app-arch/rpm2targz-9.0.0.3g" +case "${EAPI:-0}" in + [0-6]) DEPEND=">=app-arch/rpm2targz-9.0.0.3g" ;; + *) BDEPEND=">=app-arch/rpm2targz-9.0.0.3g" ;; +esac # @FUNCTION: rpm_unpack # @USAGE: