public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Valters Jansons <valter.jansons@gmail.com>
To: location@lists.ipfire.org
Subject: [PATCH] debian: Remove redundant calls from rules
Date: Sun,  1 Nov 2026 18:31:09 +0900	[thread overview]
Message-ID: <20261101093109.95273-1-valter.jansons@gmail.com> (raw)

* 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



                 reply	other threads:[~2026-11-01  9:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261101093109.95273-1-valter.jansons@gmail.com \
    --to=valter.jansons@gmail.com \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox