summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/mock/mock-0.9.10-r2.ebuild')
-rw-r--r--dev-util/mock/mock-0.9.10-r2.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/dev-util/mock/mock-0.9.10-r2.ebuild b/dev-util/mock/mock-0.9.10-r2.ebuild
index 30d8562134f7..8b37a6fbf722 100644
--- a/dev-util/mock/mock-0.9.10-r2.ebuild
+++ b/dev-util/mock/mock-0.9.10-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/mock-0.9.10-r2.ebuild,v 1.2 2009/03/27 18:06:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/mock-0.9.10-r2.ebuild,v 1.3 2009/10/12 07:53:20 ssuominen Exp $
+EAPI=2
inherit eutils
DESCRIPTION="Mock creates chroots and builds packages in them for Fedora and
@@ -11,22 +12,19 @@ SRC_URI="https://fedorahosted.org/mock/attachment/wiki/MockTarballs/mock-${PV}.t
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-EAPI="2"
-
DEPEND=""
RDEPEND="sys-apps/yum
dev-python/decoratortools"
-src_unpack() {
- unpack ${A} && cd "${S}"
- epatch "${FILESDIR}/${P}-chroot-fix.patch"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-chroot-fix.patch
}
src_install() {
- emake DESTDIR="${D}" install || die "install failed"
+ emake DESTDIR="${D}" install || die
}
pkg_postinst() {