Control: tag -1 +patch

On Wed, Apr 20, 2016 at 10:54:45PM +0200, [email protected] wrote:
> Package: ispell-czech
> Severity: normal
> Usertags: arch-all-and-any-missing-targets
> 
> Hi,
> 
> The package ispell-czech builds an architecture independent *and* an
> architecture dependent package, but does not have the (now mandatory)
> "build-arch" and "build-indep" targets in debian/rules.
> 
> We would like to phase out the hacks in dpkg, which are currently
> needed to ensure that ispell-czech builds despite its lack of these
> targets.
> 
>  * Please add build-arch and build-indep targets to ispell-czech at
>    your earliest convenience.
>    - This can also be solved by using e.g. the "dh"-style rules.
> 
>  * The work around will be removed in the first dpkg upload after
>    the 1st of June.  After that upload, ispell-czech will FTBFS if
>    this bug has not been fixed before then.

Hi,

Proposed patch attached. It is formatted as a NMU, as will soon be
uploaded to the delayed queue if maintainer does not complain.

Regards,

-- 
Agustin
diff --git a/debian/changelog b/debian/changelog
index 6d670e1..acf6584 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ispell-czech (20040229-5.2) unstable; urgency=medium
+
+  * Non-Maintainer upload.
+  * Add missing build-{arch,indep} targets (Closes: #821995).
+
+ -- Agustin Martin Domingo <[email protected]>  Mon, 11 Jul 2016 15:36:58 +0200
+
 ispell-czech (20040229-5.1) unstable; urgency=low
 
   * Non-Maintainer upload.
diff --git a/debian/rules b/debian/rules
index 767d2f8..ad5d333 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,11 @@
 
 package=iczech
 
-build:
-	dh_testdir    
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp:
+	dh_testdir
 	make
 	(wc -l < czech.a-z; cat czech.a-z) > cs_CZ.mydic
 	ispellaff2myspell --charset=latin2 --myheader=debian/cs_CZ.myheader czech.aff > cs_CZ.myaff

Reply via email to