From 3d0c605e01d04000a94b9e5b4824076e4ce7f1fa Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Thu, 29 May 2008 17:58:30 +0000 Subject: python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. (Portage version: 2.1.5.2) --- sys-apps/policycoreutils/ChangeLog | 6 +++++- sys-apps/policycoreutils/policycoreutils-1.34.15.ebuild | 9 ++++----- 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 + policycoreutils-1.34.15.ebuild: + python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. 26 May 2008; Chris PeBenito 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 } -- cgit v1.2.3-65-gdbad