diff options
author | Felix Geyer <debfx@fobos.de> | 2019-07-15 21:12:05 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-07-22 15:32:09 -0400 |
commit | ff7fc73bdf4602323ce320a2094c006c9c3e4d42 (patch) | |
tree | 23bd0803a95bc834faa9089106acfe43deaffb11 /src | |
parent | 4bec773fb401433bbfbbef111a49e1d2acbc4fcf (diff) | |
download | libseccomp-ff7fc73bdf4602323ce320a2094c006c9c3e4d42.tar.gz |
python: install the python extension to the root package dir
Commit 8ad3638ea9023c3948976dfadebd1554380a31c9 effectively added libseccomp/
to the install path of the python extension.
This changed the import module name from "seccomp" to "libseccomp.seccomp",
breaking existing users.
Revert the install path like it was before 2.4.0
Signed-off-by: Felix Geyer <debfx@fobos.de>
[PM: tweaked the subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/python/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/Makefile.am b/src/python/Makefile.am index 3a34b0a..f71ec24 100644 --- a/src/python/Makefile.am +++ b/src/python/Makefile.am @@ -40,12 +40,12 @@ build: ../libseccomp.la libseccomp.pxd seccomp.pyx setup.py ${PY_BUILD} && touch build install-exec-local: build - ${PY_INSTALL} --install-lib=${DESTDIR}/${pkgpythondir} \ - --record=${DESTDIR}/${pkgpythondir}/install_files.txt + ${PY_INSTALL} --install-lib=${DESTDIR}/${pyexecdir} \ + --record=${DESTDIR}/${pyexecdir}/install_files.txt uninstall-local: - cat ${DESTDIR}/${pkgpythondir}/install_files.txt | xargs ${RM} -f - ${RM} -f ${DESTDIR}/${pkgpythondir}/install_files.txt + cat ${DESTDIR}/${pyexecdir}/install_files.txt | xargs ${RM} -f + ${RM} -f ${DESTDIR}/${pyexecdir}/install_files.txt clean-local: [ ${srcdir} == ${builddir} ] || ${RM} -f ${builddir}/seccomp.pyx |