Bug#821970: chise-base: Build arch:all+arch:any but is missing build-{arch,indep} targets

2018-03-15 Thread James Cowgill
Control: tags -1 pending

Hi,

On Wed, 20 Apr 2016 22:48:40 +0200 ni...@thykier.net wrote:
> Package: chise-base
> Severity: normal
> Usertags: arch-all-and-any-missing-targets
> 
> Hi,
> 
> The package chise-base 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.

I've uploaded the attached NMU to fix this. It simply applies the patch
which was added to this bug a year and a half ago.

James
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
@@ -38,6 +38,8 @@
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
 
 
+build-arch: build
+build-indep: build
 build: build-stamp
 build-stamp: libchise/config.status
dh_testdir
@@ -117 +119 @@
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary 
install
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,12 @@
+chise-base (0.3.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Santiago Vila ]
+  * Add build-{arch,indep} targets. (Closes: #821970)
+
+ -- James Cowgill   Thu, 15 Mar 2018 14:57:51 +
+
 chise-base (0.3.0-2) unstable; urgency=low
 
   * libchise/Makefile.in (CFLAGS): Added -DHAVE_CONFIG_H


signature.asc
Description: OpenPGP digital signature


Bug#821970: chise-base: Build arch:all+arch:any but is missing build-{arch,indep} targets

2016-07-28 Thread Santiago Vila
tags 821970 + patch
thanks

I also recommend switching to dh, but in the meantime, the attached
patch should work.

Thanks.--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,8 @@ libchise/config.status: libchise/configure
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
 
 
+build-arch: build
+build-indep: build
 build: build-stamp
 build-stamp: libchise/config.status
dh_testdir
@@ -114,4 +116,4 @@ binary-arch: build install
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary 
install