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

Andreas Tille tille at debian.org
Tue Jun 13 21:42: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-phyl-omics.

commit e17dfcfd7eec92c8312f1c955f0baad94f45e46a
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jun 13 23:41:26 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 8d41826..6ce664d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,12 @@
-libbpp-phyl-omics (2.3.1-1) UNRELEASED; urgency=medium
+libbpp-phyl-omics (2.3.1-1) unstable; 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>  Tue, 13 Jun 2017 23:34:06 +0200
+ -- Andreas Tille <tille at debian.org>  Tue, 13 Jun 2017 23:38:10 +0200
 
 libbpp-phyl-omics (2.2.0-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 3693921..bcc1764 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,8 @@ Priority: optional
 Build-Depends: debhelper (>= 10),
                cmake,
                d-shlibs,
-               libbpp-phyl-dev (>= 2.2.0),
-               libbpp-seq-omics-dev (>= 2.2.0)
+               libbpp-phyl-dev (>= 2.3.1),
+               libbpp-seq-omics-dev (>= 2.3.1)
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbpp-phyl-omics.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libbpp-phyl-omics.git
@@ -17,10 +17,10 @@ Homepage: http://biopp.univ-montp2.fr/wiki/index.php/Main_Page
 Package: libbpp-phyl-omics-dev
 Architecture: any
 Section: libdevel
-Depends: libbpp-phyl-omics1v5 (= ${binary:Version}),
+Depends: libbpp-phyl-omics2 (= ${binary:Version}),
          ${misc:Depends},
-         libbpp-phyl-dev (>= 2.2.0),
-         libbpp-seq-omics-dev (>= 2.2.0)
+         libbpp-phyl-dev (>= 2.3.1),
+         libbpp-seq-omics-dev (>= 2.3.1)
 Description: Bio++ Phylogenetics library: genomics components (development files)
  Bio++ is a set of C++ libraries for Bioinformatics, including sequence
  analysis, phylogenetics, molecular evolution and population genetics.
@@ -31,13 +31,11 @@ Description: Bio++ Phylogenetics library: genomics components (development files
  This package contains the static library and the header files of the
  Bio++ classes dedicated to genomic phylogeny.
 
-Package: libbpp-phyl-omics1v5
+Package: libbpp-phyl-omics2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Conflicts: libbpp-phyl-omics1
-Replaces: libbpp-phyl-omics1
 Description: Bio++ Phylogenetics library: genomics components
  Bio++ is a set of C++ libraries for Bioinformatics, including sequence
  analysis, phylogenetics, molecular evolution and population genetics.
diff --git a/debian/rules b/debian/rules
index ca6f227..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,12 +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-phyl9-dev/libbpp-phyl-dev/ \
-		    --override s/libbpp-seq-omics1-dev/libbpp-seq-omics-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-phyl-omics.git



More information about the debian-med-commit mailing list