summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 17:58:30 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 17:58:30 +0000
commit3d0c605e01d04000a94b9e5b4824076e4ce7f1fa (patch)
tree0f0bbbfee407845aa35bee2a00a67785f53f379e /sys-apps/policycoreutils
parentpython_mod_{cleanup,optimize} are ROOT aware. (diff)
downloadgentoo-2-3d0c605e01d04000a94b9e5b4824076e4ce7f1fa.tar.gz
gentoo-2-3d0c605e01d04000a94b9e5b4824076e4ce7f1fa.tar.bz2
gentoo-2-3d0c605e01d04000a94b9e5b4824076e4ce7f1fa.zip
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
(Portage version: 2.1.5.2)
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/ChangeLog6
-rw-r--r--sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild9
2 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog
index df10bbd141c8..38ce9c58f7eb 100644
--- a/sys-apps/policycoreutils/ChangeLog
+++ b/sys-apps/policycoreutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/policycoreutils
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.69 2008/05/26 15:03:39 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.70 2008/05/29 17:58:30 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org>
+ policycoreutils-1.34.15.ebuild:
+ python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
26 May 2008; Chris PeBenito <pebenito@gentoo.org>
policycoreutils-1.34.15.ebuild:
diff --git a/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild b/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild
index 219b731de537..40e45c3057ee 100644
--- a/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild,v 1.3 2008/05/26 15:03:39 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild,v 1.4 2008/05/29 17:58:30 hawking Exp $
IUSE="nls"
-inherit eutils python
+inherit eutils python multilib
EXTRAS_VER="1.18"
SEMNG_VER="1.10.9"
@@ -94,10 +94,9 @@ src_install() {
pkg_postinst() {
python_version
- python_mod_optimize "${ROOT}usr/lib/python${PYVER}/site-packages"
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
}
pkg_postrm() {
- python_version
- python_mod_cleanup "${ROOT}usr/lib/python${PYVER}/site-packages"
+ python_mod_cleanup
}