commit: 606c745e611c216df15568bc8655e2781dc11095
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 20 14:25:01 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 14:27:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606c745e
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 <fedora.dm0 <AT> gmail.com>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
eclass/rpm.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass
index 3a29c7e9f76..d27f0a386c7 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: <rpms>