[med-svn] [libbpp-raa] 05/06: Adapt package names to soversion change, Hardening

Andreas Tille tille at debian.org
Wed Jun 14 09:56:04 UTC 2017


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

tille pushed a commit to branch master
in repository libbpp-raa.

commit e86b9318cb4c28970a26d9163c619cbe72dc288a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jun 14 11:46:09 2017 +0200

    Adapt package names to soversion change, Hardening
---
 debian/changelog |  2 ++
 debian/control   | 12 +++++-------
 debian/rules     | 11 ++++-------
 3 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 296bf76..a6af781 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ libbpp-raa (2.3.1-1) UNRELEASED; urgency=medium
   * New upstream version
   * d/watch: point to github
   * debhelper 10
+  * Adapt package names to soversion change
+  * Hardening
 
  -- Andreas Tille <tille at debian.org>  Wed, 14 Jun 2017 11:41:30 +0200
 
diff --git a/debian/control b/debian/control
index 9404bf6..89a452f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10),
                cmake,
                d-shlibs,
                zlib1g-dev,
-               libbpp-seq-dev (>= 2.2.0)
+               libbpp-seq-dev (>= 2.3.1)
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbpp-raa.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libbpp-raa.git
@@ -17,9 +17,9 @@ Homepage: http://biopp.univ-montp2.fr/wiki/index.php/Main_Page
 Package: libbpp-raa-dev
 Architecture: any
 Section: libdevel
-Depends: libbpp-raa1v5 (= ${binary:Version}),
+Depends: libbpp-raa3 (= ${binary:Version}),
          ${misc:Depends},
-         libbpp-seq-dev (>= 2.2.0)
+         libbpp-seq-dev (>= 2.3.1)
 Description: Bio++ Remote Acnuc Access library development files
  This library contains utilitary and classes to query public databases
  (GenBank, EMBL, SwissProt, etc) using acnuc.
@@ -27,14 +27,12 @@ Description: Bio++ Remote Acnuc Access library development files
  .
  This package contains header files and static library.
 
-Package: libbpp-raa1v5
+Package: libbpp-raa3
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libbpp-seq9v5 (>= 2.2.0)
-Conflicts: libbpp-raa1
-Replaces: libbpp-raa1
+         libbpp-seq11 (>= 2.3.1)
 Description: Bio++ Remote Acnuc Access library
  This library contains utilitary and classes to query public databases
  (GenBank, EMBL, SwissProt, etc) using acnuc.
diff --git a/debian/rules b/debian/rules
index 8262cf4..9d1fe92 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-## When the following is set, the package does not build:
-# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@
@@ -12,11 +11,9 @@ override_dh_install:
 	dh_install
 	d-shlibmove --commit \
 		    --multiarch \
-		    --v5 \
 		    --devunversioned \
-		    --override s/libbpp-core2-dev/libbpp-core-dev/ \
-		    --override s/libbpp-seq9-dev/libbpp-seq-dev/ \
+		    --override 's/libbpp-\([-a-z]\+\)[0-9]\+-dev/libbpp-\1-dev/' \
 		    --exclude-la \
                     --movedev debian/tmp/usr/include/* usr/include \
-                    debian/tmp/usr/lib/*.so
-
+                    --movedev debian/tmp/usr/lib/$(DEB_HOST_GNU_TYPE)/cmake usr/lib/$(DEB_HOST_GNU_TYPE) \
+                    debian/tmp/usr/lib/*/*.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libbpp-raa.git



More information about the debian-med-commit mailing list