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

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



Control: tags -1 - moreinfo

Hi Ivo,

> On Fri, Mar 15, 2019 at 05:22:45PM +0100, Sascha Steinbiss wrote:
>> please unblock package augustus.
> 
> First of all, the package isn't in unstable, so it can't be unblocked. I guess
> it was rejected due to the issue below.

Just did a reupload, accepted now. Please find the new diff attached to
this email.

[...]
> The built-using field has to refer to the source package, not the binary
> package, so the reference to libbam-dev in the Built-Using header is wrong.
> A package with a non-existant reference in built-using will be rejected by the
> archive.

I see. I fixed this problem in my latest upload in unstable and I would
be happy if you could reconsider the upload for unblocking. Thanks a lot!

Best regards
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,11 @@
+augustus (3.3.2+dfsg-2) unstable; urgency=medium
+
+  * Use dynamic Built-Using in d/control.
+    Thanks to Andreas Beckmann for useful hints.
+    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-15 17:11:10.000000000 +0100
@@ -28,7 +28,7 @@
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          augustus-data
-Built-Using: samtools-legacy (= 0.1.19-2)
+Built-Using: ${Built-Using:samtools}
 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-15 17:11:10.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
 
 %:
@@ -85,3 +86,7 @@
 
 override_dh_compress:
 	dh_compress -Xtutorial
+
+override_dh_gencontrol:
+	dh_gencontrol -- \
+		-V'Built-Using:samtools=$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libbam-dev)'

Reply to: