* [PATCH] debian: Remove redundant calls from rules
@ 2026-11-01 9:31 Valters Jansons
0 siblings, 0 replies; only message in thread
From: Valters Jansons @ 2026-11-01 9:31 UTC (permalink / raw)
To: location
* intltoolize is automatically called with autoconf 2.70 or later.
* .la files are dropped by upstream Makefile already.
Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
debian/rules | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index c17b8e6..ca1395b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,14 +30,12 @@ DEFAULT_BUILDDIR = .pybuild/autotools-$(shell py3versions -dv)
export PYBUILD_SYSTEM=custom
export PYBUILD_CLEAN_ARGS=true
-export PYBUILD_CONFIGURE_ARGS=intltoolize --force --automake; \
- PYTHON={interpreter} dh_auto_configure $(AUTOTOOLS_ARGS) -- \
+export PYBUILD_CONFIGURE_ARGS=PYTHON={interpreter} dh_auto_configure $(AUTOTOOLS_ARGS) -- \
$(CONFIGURE_MAN_PAGES) --disable-perl --with-systemd
export PYBUILD_BUILD_ARGS=dh_auto_build $(AUTOTOOLS_ARGS)
export PYBUILD_INSTALL_ARGS=dh_auto_install $(AUTOTOOLS_ARGS) --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
+ mv {destdir}/usr/lib/python3/dist-packages/_location.so {destdir}/usr/lib/python{version}/dist-packages/_location.so
export PYBUILD_TEST_ARGS=dh_auto_test $(AUTOTOOLS_ARGS)
%:
--
2.56.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-01 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 9:31 [PATCH] debian: Remove redundant calls from rules Valters Jansons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox