From afbd321bd8ef2698d611c86b98b7fc15aaefed54 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Thu, 29 May 2008 18:09:54 +0000 Subject: python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. (Portage version: 2.1.5.2) --- sys-libs/libsemanage/ChangeLog | 5 ++++- sys-libs/libsemanage/libsemanage-1.10.9.ebuild | 7 +++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'sys-libs/libsemanage') diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog index 2a0d559afd6e..1bd114c230e1 100644 --- a/sys-libs/libsemanage/ChangeLog +++ b/sys-libs/libsemanage/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/libsemanage # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.20 2008/05/26 15:00:28 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.21 2008/05/29 18:09:54 hawking Exp $ + + 29 May 2008; Ali Polatel libsemanage-1.10.9.ebuild: + python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. 26 May 2008; Chris PeBenito libsemanage-1.10.9.ebuild: diff --git a/sys-libs/libsemanage/libsemanage-1.10.9.ebuild b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild index d407ddc8a118..4b322c3add26 100644 --- a/sys-libs/libsemanage/libsemanage-1.10.9.ebuild +++ b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.9.ebuild,v 1.3 2008/05/26 15:00:28 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.9.ebuild,v 1.4 2008/05/29 18:09:54 hawking Exp $ IUSE="" @@ -49,10 +49,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