[hdf5] 01/02: Add alternatives for hdf5.pc in -dev packages.

Gilles Filippini pini at moszumanska.debian.org
Thu Jul 31 17:06:44 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 967e154f5c8a6aff74a6598d38744bcf597b62b7
Author: Gilles Filippini <pini at debian.org>
Date:   Thu Jul 31 15:33:38 2014 +0200

    Add alternatives for hdf5.pc in -dev packages.
---
 debian/changelog                      | 6 ++++++
 debian/libhdf5-flavor-dev.postinst.in | 2 ++
 debian/libhdf5-flavor-dev.prerm.in    | 2 ++
 3 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2b4ed38..b016883 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hdf5 (1.8.13+docs-6) UNRELEASED; urgency=medium
+
+  * Add alternatives for hdf5.pc in -dev packages.
+
+ -- Gilles Filippini <pini at debian.org>  Thu, 31 Jul 2014 15:31:56 +0200
+
 hdf5 (1.8.13+docs-5) experimental; urgency=medium
 
   * Fix to the previous fix: forgot to update d/control.in.
diff --git a/debian/libhdf5-flavor-dev.postinst.in b/debian/libhdf5-flavor-dev.postinst.in
index 510e39f..55f7baa 100644
--- a/debian/libhdf5-flavor-dev.postinst.in
+++ b/debian/libhdf5-flavor-dev.postinst.in
@@ -9,6 +9,8 @@ if [ "@FLAVOR@" != "serial" ]; then
 	--slave /usr/share/man/man1/h5pcc.1.gz h5pcc.1.gz /usr/share/man/man1/h5pcc. at FLAVOR@.1.gz \
 	--slave /usr/share/man/man1/h5pfc.1.gz h5pfc.1.gz /usr/share/man/man1/h5pfc. at FLAVOR@.1.gz
 fi
+update-alternatives \
+	--install /usr/lib/@MULTIARCH@/pkgconfig/hdf5.pc hdf5.pc /usr/lib/@MULTIARCH@/pkgconfig/hdf5- at FLAVOR@.pc 50 \
 
 #DEBHELPER#
 
diff --git a/debian/libhdf5-flavor-dev.prerm.in b/debian/libhdf5-flavor-dev.prerm.in
index 1b181a7..99c9fce 100644
--- a/debian/libhdf5-flavor-dev.prerm.in
+++ b/debian/libhdf5-flavor-dev.prerm.in
@@ -7,6 +7,8 @@ if [ "$1" != "upgrade" ]; then
     update-alternatives \
 	--remove h5pcc /usr/bin/h5pcc. at FLAVOR@
   fi
+  update-alternatives \
+	--remove hdf5.pc /usr/lib/@MULTIARCH@/pkgconfig/hdf5- at FLAVOR@.pc
 fi
 
 #DEBHELPER#

-- 
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