2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

Improve cross-distro compatibility by supporting python 2.[4-7] and python 3.[0-4]. Fixes LP: #1198672

This commit is contained in:
Simon Déziel
2014-06-05 19:43:59 -07:00
committed by John Johansen

View File

@@ -10,18 +10,18 @@
# #
# ------------------------------------------------------------------ # ------------------------------------------------------------------
/usr/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr, /usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{pyc,so} mr,
/usr/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r, /usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{egg,py,pth} r,
/usr/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r, /usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/{site,dist}-packages/ r,
/usr/lib{,32,64}/python3.[234]/lib-dynload/*.so mr, /usr/lib{,32,64}/python3.[0-4]/lib-dynload/*.so mr,
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr, /usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{pyc,so} mr,
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r, /usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{egg,py,pth} r,
/usr/local/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r, /usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/{site,dist}-packages/ r,
/usr/local/lib{,32,64}/python3.[234]/lib-dynload/*.so mr, /usr/local/lib{,32,64}/python3.[0-4]/lib-dynload/*.so mr,
# Site-wide configuration # Site-wide configuration
/etc/python{2,3}.[34567]/** r, /etc/python{2.[4-7],3.[0-4]}/** r,
# shared python paths # shared python paths
/usr/share/{pyshared,pycentral,python-support}/** r, /usr/share/{pyshared,pycentral,python-support}/** r,
@@ -34,4 +34,4 @@
/usr/lib/wx/python/*.pth r, /usr/lib/wx/python/*.pth r,
# python build configuration and headers # python build configuration and headers
/usr/include/python{2,3}.[0-7]*/pyconfig.h r, /usr/include/python{2.[4-7],3.[0-4]}*/pyconfig.h r,