diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-29 18:08:46 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-29 18:08:46 +0000 |
commit | b52c9e15a8ce6ca0381c605ce6e95845734785b0 (patch) | |
tree | a992062eb51266732f5fbcbed943ff82fac4872c | |
parent | python_mod_{cleanup,optimize} are ROOT aware. Remove redundant python_version... (diff) | |
download | gentoo-2-b52c9e15a8ce6ca0381c605ce6e95845734785b0.tar.gz gentoo-2-b52c9e15a8ce6ca0381c605ce6e95845734785b0.tar.bz2 gentoo-2-b52c9e15a8ce6ca0381c605ce6e95845734785b0.zip |
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
(Portage version: 2.1.5.2)
-rw-r--r-- | sys-libs/libselinux/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/libselinux/libselinux-1.34.14.ebuild | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog index dd0b562abcf9..39a779f1fc85 100644 --- a/sys-libs/libselinux/ChangeLog +++ b/sys-libs/libselinux/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/libselinux # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.59 2008/05/13 02:39:41 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.60 2008/05/29 18:08:46 hawking Exp $ + + 29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild: + python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. 13 May 2008; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild, diff --git a/sys-libs/libselinux/libselinux-1.34.14.ebuild b/sys-libs/libselinux/libselinux-1.34.14.ebuild index db1cc6cd51a7..61e323b53130 100644 --- a/sys-libs/libselinux/libselinux-1.34.14.ebuild +++ b/sys-libs/libselinux/libselinux-1.34.14.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/libselinux/libselinux-1.34.14.ebuild,v 1.3 2008/05/13 02:39:41 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.34.14.ebuild,v 1.4 2008/05/29 18:08:46 hawking Exp $ IUSE="" @@ -51,10 +51,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 } |