Control: tags 727343 + patch
Control: tags 727343 + pending

Dear maintainer,

I've prepared an NMU for chise-base (versioned as 0.3.0-2.3) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

diff -u chise-base-0.3.0/debian/changelog chise-base-0.3.0/debian/changelog
--- chise-base-0.3.0/debian/changelog
+++ chise-base-0.3.0/debian/changelog
@@ -1,3 +1,14 @@
+chise-base (0.3.0-2.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh_update_autotools_config, dh_autoreconf and dh_autoreconf_clean in
+    debian/rules. Closes: #727343
+  * Do not manually copy /usr/share/misc/config.{sub,guess} over
+    libchise/config.{sub,guess} in the clean target, dh_clean takes care of
+    doing that.
+
+ -- Emanuele Rocca <e...@debian.org>  Thu, 06 Oct 2022 11:35:07 +0200
+
 chise-base (0.3.0-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u chise-base-0.3.0/debian/rules chise-base-0.3.0/debian/rules
--- chise-base-0.3.0/debian/rules
+++ chise-base-0.3.0/debian/rules
@@ -35,6 +35,9 @@
 
 libchise/config.status: libchise/configure
 	dh_testdir
+	cp libchise/libtool debian/libtool.bkp
+	dh_update_autotools_config
+	dh_autoreconf
 	cd libchise && CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
@@ -49,15 +52,11 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp 
+	rm -f build-stamp
 	cd libchise && [ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub libchise/config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess libchise/config.guess
-endif
+	dh_autoreconf_clean
 	dh_clean 
+	-mv debian/libtool.bkp libchise/libtool
 
 install: build
 	dh_testdir

Reply via email to