[hdf5] 05/07: libhdf5-mpi-dev *must be* 'Architecture: any'

Gilles Filippini pini at moszumanska.debian.org
Tue Sep 16 09:45:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to branch master
in repository hdf5.

commit cbf3b374b2ff06fc1496c8c3086183b93c3d3065
Author: Gilles Filippini <pini at debian.org>
Date:   Tue Sep 16 09:50:48 2014 +0200

    libhdf5-mpi-dev *must be* 'Architecture: any'
    
    because substvar ${hdf5-mpi-dev} depends on the architecture.
---
 debian/control    | 3 ++-
 debian/control.in | 3 ++-
 debian/rules      | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 5e0248a..68b1c28 100644
--- a/debian/control
+++ b/debian/control
@@ -205,7 +205,8 @@ Description: Hierarchical Data Format 5 (HDF5) - Mpich Debug package
 Package: libhdf5-mpi-dev
 Section: libdevel
 Priority: extra
-Architecture: all
+# Must be 'Architecture: any' because ${hdf5-mpi-dev} depends on the arch
+Architecture: any
 Depends: ${hdf5-mpi-dev}, mpi-default-dev, ${misc:Depends}
 Description: Hierarchical Data Format 5 (HDF5) - development files - default MPI version
  HDF5 is a file format and library for storing scientific data.
diff --git a/debian/control.in b/debian/control.in
index d367df6..4d101b5 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -205,7 +205,8 @@ Description: Hierarchical Data Format 5 (HDF5) - Mpich Debug package
 Package: libhdf5-mpi-dev
 Section: libdevel
 Priority: extra
-Architecture: all
+# Must be 'Architecture: any' because ${hdf5-mpi-dev} depends on the arch
+Architecture: any
 Depends: ${hdf5-mpi-dev}, mpi-default-dev, ${misc:Depends}
 Description: Hierarchical Data Format 5 (HDF5) - development files - default MPI version
  HDF5 is a file format and library for storing scientific data.
diff --git a/debian/rules b/debian/rules
index aa7888e..cb8d4e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -281,7 +281,6 @@ install-doc: build-indep
 binary-indep: install-doc
 	dh_testdir
 	dh_testroot
-	echo "hdf5-mpi-dev=libhdf5-$(DEFAULT_MPI)-dev" > debian/libhdf5-mpi-dev.substvars
 	dh_installdocs -i
 	dh_installchangelogs -i -k release_docs/RELEASE.txt
 	dh_link
@@ -296,6 +295,7 @@ binary-indep: install-doc
 binary-arch: prep install-serial $(install_openmpi) $(install_mpich)
 	dh_testdir
 	dh_testroot
+	echo "hdf5-mpi-dev=libhdf5-$(DEFAULT_MPI)-dev" > debian/libhdf5-mpi-dev.substvars
 	dh_installdocs $(ARCH_FLAG)
 	dh_installman $(ARCH_FLAG)
 	dh_lintian $(ARCH_FLAG)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf5.git



More information about the Pkg-grass-devel mailing list