Control: tags -1 patch

Here's a tested patch. Also removes duplicate "en.xml" in dic/Makefile.am.
diff -ru ots-0.5.0.orig/debian/control ots-0.5.0/debian/control
--- ots-0.5.0.orig/debian/control
+++ ots-0.5.0/debian/control
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Masayuki Hatta (mhatta) <mha...@debian.org>
-Build-Depends: debhelper (>> 4.0.0), libglib2.0-dev, libpopt-dev, libxml2-dev
+Build-Depends: debhelper (>> 4.0.0), libglib2.0-dev, libpopt-dev, libxml2-dev, dh-autoreconf
 Standards-Version: 3.8.0
 Homepage: http://libots.sourceforge.net/
 
diff -ru ots-0.5.0.orig/debian/rules ots-0.5.0/debian/rules
--- ots-0.5.0.orig/debian/rules
+++ ots-0.5.0/debian/rules
@@ -34,6 +34,7 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 	# Add here commands to configure the package.
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr --mandir=\$${prefix}/share/man \
@@ -65,7 +66,7 @@
 	cp -f /usr/share/misc/config.guess config.guess
 endif
 
-
+	dh_autoreconf_clean
 	dh_clean
 
 install: build
diff -ru ots-0.5.0.orig/dic/Makefile.am ots-0.5.0/dic/Makefile.am
--- ots-0.5.0.orig/dic/Makefile.am
+++ ots-0.5.0/dic/Makefile.am
@@ -1,7 +1,7 @@
 DICTS=bg.xml ca.xml cs.xml cy.xml da.xml de.xml el.xml en.xml eo.xml es.xml \
       et.xml eu.xml fi.xml fr.xml ga.xml gl.xml he.xml hu.xml ia.xml id.xml \
       is.xml it.xml lv.xml mi.xml ms.xml mt.xml nl.xml nn.xml pl.xml pt.xml \
-      ro.xml ru.xml sv.xml tl.xml tr.xml uk.xml yi.xml en.xml
+      ro.xml ru.xml sv.xml tl.xml tr.xml uk.xml yi.xml
 
 pkgdata_DATA = $(DICTS)
 

Reply via email to