mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
app-arch/rpm: don't call python-any-r1_pkg_setup when python is disabled
Closes: https://bugs.gentoo.org/720754 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -49,6 +49,10 @@ RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-rpm )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${PN}-4.11.0-autotools.patch
|
||||
eapply "${FILESDIR}"/${PN}-4.8.1-db-path.patch
|
||||
|
||||
Reference in New Issue
Block a user