[openturns] 02/05: Let -dbg package depend on libopenturns package and not -dev

Denis Barbier barbier-guest at moszumanska.debian.org
Sun Apr 26 21:21:31 UTC 2015


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

barbier-guest pushed a commit to branch db/py3
in repository openturns.

commit 012cd389bd498047c26f2ad660ca50bf42be1331
Author: Denis Barbier <bouzim at gmail.com>
Date:   Sun Jan 25 23:11:29 2015 +0000

    Let -dbg package depend on libopenturns package and not -dev
    
    Rename libopenturns-dbg package into libopenturns0.6-dbg.
---
 debian/control | 4 ++--
 debian/rules   | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index ce23b1a..1a7b793 100644
--- a/debian/control
+++ b/debian/control
@@ -69,10 +69,10 @@ Description: headers and development libraries for OpenTURNS
  This package provides the OpenTURNS headers should be used if one
  wants to link its application against the library.
 
-Package: libopenturns-dbg
+Package: libopenturns0.6-dbg
 Section: debug
 Architecture: any
-Depends: ${misc:Depends}, libopenturns-dev
+Depends: libopenturns0.6 (= ${binary:Version}), ${misc:Depends}
 Description: debug symbols for OpenTURNS
  OpenTURNS is a powerful and generic tool to treat and quantify
  uncertainties in numerical simulations in design, optimization and
diff --git a/debian/rules b/debian/rules
index 392152f..515efd5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -86,7 +86,6 @@ override_dh_auto_build:
 
 override_dh_auto_install: debian/tmp/usr/lib/R/site-library/rot
 	dh_auto_install
-	mkdir -p debian/libopenturns-dbg/usr/lib/debug/usr/lib
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	# CTestTestfile.cmake sets LD_LIBRARY_PATH to find libraries in debian/tmp.
 	# But it overrides current value, which breaks when run by fakeroot.
@@ -100,7 +99,7 @@ override_dh_makeshlibs:
 	dh_makeshlibs -Xpyshared
 
 override_dh_strip:
-	dh_strip -plibopenturns0.6 --dbg-package=libopenturns-dbg
+	dh_strip -plibopenturns0.6 --dbg-package=libopenturns0.6-dbg
 	dh_strip
 
 override_dh_python2:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openturns.git



More information about the debian-science-commits mailing list