Skip to contentSkip to conversation

apparmor: fix python packaging issue

PATCH New Armin Kuster 1 participant 1 message May 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apparmor: fix python packaging issue

From: Armin Kuster <[email protected]>

WARNING: apparmor-2.11.0-r0 do_package: QA Issue: apparmor: Files/directories were installed but not shipped in any package:
/usr/lib/python2.7
/usr/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages/apparmor-2.11.0-py2.7.egg-info /usr/lib/python2.7/site-packages/apparmor
/usr/lib/python2.7/site-packages/apparmor/regex.py

use python2 instead of python3

---
 recipes-security/AppArmor/apparmor_2.11.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/AppArmor/apparmor_2.11.0.bb +2 -2
index 8ad2d25..591a673 100644
@@ -27,14 +27,14 @@ SRC_URI[sha256sum] = "b1c489ea11e7771b8e6b181532cafbf9ebe6603e3cb00e2558f21b7a5b
 
 PARALLEL_MAKE = ""
 
-inherit pkgconfig autotools-brokensep update-rc.d python3-dir perlnative ptest
+inherit pkgconfig autotools-brokensep update-rc.d python-dir perlnative ptest
 inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}
 
 S = "${WORKDIR}/apparmor-${PV}"
 
 PACKAGECONFIG ?="man"
 PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages"
-PACKAGECONFIG[python3] = "--with-python, --without-python, python3 swig-native"
+PACKAGECONFIG[python] = "--with-python, --without-python, python swig-native"
 PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native"
 
 PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}"
Signature · 1 line
2.7.4