projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0b6e5
)
rpm.eclass: use BDEPEND for EAPI 7
author
David Michael
<fedora.dm0@gmail.com>
Mon, 20 Apr 2020 14:25:01 +0000
(16:25 +0200)
committer
Thomas Deutschmann
<whissi@gentoo.org>
Mon, 20 Apr 2020 14:27:33 +0000
(16:27 +0200)
The build system's rpm2tar command is executed during unpack, so it
must be install in /.
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
eclass/rpm.eclass
patch
|
blob
|
history
diff --git
a/eclass/rpm.eclass
b/eclass/rpm.eclass
index 3a29c7e9f765028f654adfdd3f3112932c0b0dfa..d27f0a386c7f0f79c06a955885794063ac7057a2 100644
(file)
--- 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>