[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924670: unblock: augustus/3.3.2+dfsg-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release team,

please unblock package augustus.
The only change I have made in the current version in unstable is making
sure that no hardcoded value for Built-Using is used any more,
calculating it from the version used at build time instead. I have also
corrected the name of the respective package referenced by this Built-Using.

Please find attached a debdiff with my changes.

unblock augustus/3.3.2+dfsg-2

Many thanks
Sascha
diff -Nru augustus-3.3.2+dfsg/debian/changelog augustus-3.3.2+dfsg/debian/changelog
--- augustus-3.3.2+dfsg/debian/changelog	2018-10-06 14:24:12.000000000 +0200
+++ augustus-3.3.2+dfsg/debian/changelog	2019-03-15 17:11:10.000000000 +0100
@@ -1,3 +1,10 @@
+augustus (3.3.2+dfsg-2) unstable; urgency=medium
+
+  * Use dynamic Built-Using in d/control.
+    Closes: #924359
+
+ -- Sascha Steinbiss <satta@debian.org>  Fri, 15 Mar 2019 17:11:10 +0100
+
 augustus (3.3.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru augustus-3.3.2+dfsg/debian/control augustus-3.3.2+dfsg/debian/control
--- augustus-3.3.2+dfsg/debian/control	2018-10-06 14:24:12.000000000 +0200
+++ augustus-3.3.2+dfsg/debian/control	2019-03-13 16:48:17.000000000 +0100
@@ -28,7 +28,7 @@
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          augustus-data
-Built-Using: samtools-legacy (= 0.1.19-2)
+Built-Using: libbam-dev (= ${libbam-dev:Version})
 Description: gene prediction in eukaryotic genomes
  AUGUSTUS is a software for gene prediction in eukaryotic genomic sequences
  that is based on a generalized hidden Markov model (HMM), a probabilistic
diff -Nru augustus-3.3.2+dfsg/debian/rules augustus-3.3.2+dfsg/debian/rules
--- augustus-3.3.2+dfsg/debian/rules	2018-10-06 14:24:12.000000000 +0200
+++ augustus-3.3.2+dfsg/debian/rules	2019-03-13 17:04:28.000000000 +0100
@@ -3,6 +3,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export TOOLDIR = /usr/include
 export AUGUSTUS_CONFIG_PATH=$(CURDIR)/config
+export LIBBAM_PKG_VERSION=$(shell apt-cache policy libbam-dev | grep Installed | cut -f2 -d: | cut -c2-)
 .PHONY: bam2hints homGeneMapping checkTargetSortedness joingenes
 
 %:
@@ -45,6 +46,7 @@
 	$(MAKE) -C auxprogs/compileSpliceCands clean
 	$(MAKE) -C auxprogs/filterBam clean
 	rm -rf bin
+	rm -f debian/*substvars
 
 override_dh_auto_build: aln2wig bam2hints bam2wig checkTargetSortedness compileSpliceCands filterBam homGeneMapping joingenes
 	dh_auto_build
@@ -85,3 +87,7 @@
 
 override_dh_compress:
 	dh_compress -Xtutorial
+
+override_dh_gencontrol:
+	echo "libbam-dev:Version=$(LIBBAM_PKG_VERSION)" >> debian/augustus.substvars
+	dh_gencontrol

Reply to: