From 606c745e611c216df15568bc8655e2781dc11095 Mon Sep 17 00:00:00 2001 From: David Michael Date: Mon, 20 Apr 2020 16:25:01 +0200 Subject: [PATCH] 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 --- eclass/rpm.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.26.2