summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 18:09:54 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 18:09:54 +0000
commit0e6e8953b61bd072e16b65ed082febf1b5fcaca8 (patch)
treea5d484f776cb07a705f3bb9fba423b9f6a159572 /sys-libs/libsemanage
parentpython_mod_{cleanup,optimize} are ROOT aware. Remove redundant python_version... (diff)
downloadhistorical-0e6e8953b61bd072e16b65ed082febf1b5fcaca8.tar.gz
historical-0e6e8953b61bd072e16b65ed082febf1b5fcaca8.tar.bz2
historical-0e6e8953b61bd072e16b65ed082febf1b5fcaca8.zip
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r--sys-libs/libsemanage/ChangeLog5
-rw-r--r--sys-libs/libsemanage/libsemanage-1.10.9.ebuild7
2 files changed, 7 insertions, 5 deletions
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 <hawking@gentoo.org> libsemanage-1.10.9.ebuild:
+ python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
26 May 2008; Chris PeBenito <pebenito@gentoo.org>
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
}