Package: ruby-pgplot
Version: 0.1.9-1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for ruby-pgplot (versioned as 0.1.9-1.1) and
uploaded it to DELAYED/07. Please feel free to tell me if I
should delay it longer.

The NMU is to deal with building the package on more than the current
x86 arches only:
https://buildd.debian.org/status/package.php?p=ruby-pgplot&suite=sid
The package FTBFS on any arch other than linux-amd64 and linux-i386,
because it was set to build the main package only on those arches, but
the -dbg package on any arch. The result on any arch apart from those
two was failing in the dh_installdocs step. That was fixed by an
||true in the rules file.

But a better fix is to enable builds on all architectures as there is
nothing arch-specific in this package so far as I can tell? I left the
|| true in as it's more robust, but you may feel that it's not
necessary.

patch attached

Regards.
Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
diff -Nru ruby-pgplot-0.1.9/debian/changelog ruby-pgplot-0.1.9/debian/changelog
--- ruby-pgplot-0.1.9/debian/changelog	2014-08-28 18:47:53.000000000 +0100
+++ ruby-pgplot-0.1.9/debian/changelog	2015-10-26 21:39:35.000000000 +0000
@@ -1,3 +1,11 @@
+ruby-pgplot (0.1.9-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build main and -dbg packages on same set of arches (fixes 
+    non-x86 FTBFS)
+
+ -- Wookey <woo...@debian.org>  Mon, 26 Oct 2015 21:27:37 +0000
+
 ruby-pgplot (0.1.9-1) unstable; urgency=medium
 
   * Imported Upstream version 0.1.9
diff -Nru ruby-pgplot-0.1.9/debian/control ruby-pgplot-0.1.9/debian/control
--- ruby-pgplot-0.1.9/debian/control	2014-08-28 18:47:52.000000000 +0100
+++ ruby-pgplot-0.1.9/debian/control	2015-10-26 21:34:48.000000000 +0000
@@ -21,7 +21,7 @@
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-pgplot.git;a=summary
 
 Package: ruby-pgplot
-Architecture: linux-amd64 linux-i386
+Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-narray
 Description: Ruby interface to the PGPLOT graphics library
diff -Nru ruby-pgplot-0.1.9/debian/rules ruby-pgplot-0.1.9/debian/rules
--- ruby-pgplot-0.1.9/debian/rules	2014-08-28 18:47:48.000000000 +0100
+++ ruby-pgplot-0.1.9/debian/rules	2015-10-26 21:27:25.000000000 +0000
@@ -9,7 +9,7 @@
 override_dh_installdocs:
 	dh_installdocs
 	( cd $(CURDIR)/debian/ruby-pgplot/usr/share/doc/ruby-pgplot/doc && \
-	  rm -fr Makefile *.rb *.sh )
+	  rm -fr Makefile *.rb *.sh || true )
 
 override_dh_strip:
 	dh_strip --dbg-package=ruby-pgplot-dbg

Attachment: signature.asc
Description: Digital signature

Reply via email to