]> git.ipfire.org Git - location/debian/libloc.git/commitdiff
Adopt file names for stable Python
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 2 Oct 2022 08:59:32 +0000 (10:59 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 2 Oct 2022 08:59:32 +0000 (10:59 +0200)
debian/rules

index 697a289d84cade46051dce9a9bc258e1b38d1a10..5a282c78c12287eb34a7ae0d63108829ee8a3bd4 100755 (executable)
@@ -10,8 +10,7 @@ export PYBUILD_CONFIGURE_ARGS=intltoolize --force --automake; \
 export PYBUILD_BUILD_ARGS=dh_auto_build
 export PYBUILD_INSTALL_ARGS=dh_auto_install --destdir={destdir}; \
        mkdir -p {destdir}/usr/lib/python{version}/dist-packages; \
-       mv {destdir}/usr/lib/python3/dist-packages/_location.so {destdir}/usr/lib/python{version}/dist-packages/_location.so; \
-       rm -f {destdir}/usr/lib/python3/dist-packages/_location.la {destdir}/usr/lib/*/libloc.la
+       rm -f {destdir}/usr/lib/python3*/site-packages/_location.la {destdir}/usr/lib/*/libloc.la
 export PYBUILD_TEST_ARGS=dh_auto_test
 
 %: