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

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

commit 9b93b4c19da1b531fe34940a0cd564d251611f7b
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jun 13 23:24:25 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index be56a52..f0e20de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ libbpp-seq-omics (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>  Tue, 13 Jun 2017 23:21:18 +0200
 
diff --git a/debian/control b/debian/control
index bc53246..6af7991 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Priority: optional
 Build-Depends: debhelper (>= 10),
                cmake,
                d-shlibs,
-               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-seq-omics.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libbpp-seq-omics.git
@@ -16,9 +16,9 @@ Homepage: http://biopp.univ-montp2.fr/wiki/index.php/Main_Page
 Package: libbpp-seq-omics-dev
 Architecture: any
 Section: libdevel
-Depends: libbpp-seq-omics1v5 (= ${binary:Version}),
+Depends: libbpp-seq-omics2 (= ${binary:Version}),
          ${misc:Depends},
-         libbpp-seq-dev (>= 2.2.0)
+         libbpp-seq-dev (>= 2.3.1)
 Description: Bio++ Sequence library: genomics components (development files)
  Bio++ is a set of C++ libraries for Bioinformatics, including sequence
  analysis, phylogenetics, molecular evolution and population genetics.
@@ -29,15 +29,13 @@ Description: Bio++ Sequence library: genomics components (development files)
  This package contains the static library and the header files of the
  Bio++ classes dedicated to genomic sequencing.
 
-Package: libbpp-seq-omics1v5
+Package: libbpp-seq-omics2
 Architecture: any
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-Conflicts: libbpp-seq-omics1
-Replaces: libbpp-seq-omics1
 Description: Bio++ Sequence 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 7e5367e..9d1fe92 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 %:
 	dh $@
 
@@ -9,26 +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
-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-override_dh_auto_test:
-	# For the moment ignore:
-	#    Start 1: test_gff
-	# 1/2 Test #1: test_gff .........................***Timeout 1500.00 sec
-	#
-	#    Start 2: test_fastq
-	# 2/2 Test #2: test_fastq .......................***Failed    0.01 sec
-	# Could not open example.fastq
-	# 0% tests passed, 2 tests failed out of 2
-	# The following tests FAILED:
-	#          1 - test_gff (Timeout)
-	#          2 - test_fastq (Failed)
-	dh_auto_test || true
-endif
+                    --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-seq-omics.git



More information about the debian-med-commit mailing list