Sascha Steinbiss pushed to branch master at Debian Med / genomethreader


Commits:
3d5f30f7 by Sascha Steinbiss at 2020-01-10T10:44:01+01:00
set Built-Using for Vmatch static lib

- - - - -
60db8570 by Sascha Steinbiss at 2020-01-10T11:44:19+01:00
define LIBVMATCH_PKG_VERSION

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -23,6 +23,7 @@ Package: genomethreader
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Built-Using: vmatch (= ${libvmatch-dev:Version})
 Description: software tool to compute gene structure predictions
  GenomeThreader is a software tool to compute gene structure predictions.
  The gene structure predictions are calculated using a similarity-based


=====================================
debian/rules
=====================================
@@ -3,14 +3,16 @@
 DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export LIBVMATCH_PKG_VERSION=$(shell apt-cache policy libvmatch-dev | grep 
Installed | cut -f2 -d: | cut -c2-)
 
 %:
        dh $@
 
-override_dh_clean:
+override_dh_auto_clean:
        dh_clean
        rm -rf bin/bssm debian/bssm bin/gthdata debian/gthdata
        rm -rf $(CURDIR)/debian/man
+       rm -f debian/*substvars
 
 override_dh_auto_build:
        make licensemanager=no opt=yes 64bit=yes
@@ -31,3 +33,7 @@ override_dh_installman:
        asciidoctor -a docdate='' -b manpage $(CURDIR)/debian/man_src/*.adoc
        cp $(CURDIR)/debian/man_src/*.? $(CURDIR)/debian/man
        dh_installman --
+
+override_dh_gencontrol:
+       echo "libvmatch-dev:Version=$(LIBVMATCH_PKG_VERSION)" >> 
debian/genomethreader.substvars
+       dh_gencontrol
\ No newline at end of file



View it on GitLab: 
https://salsa.debian.org/med-team/genomethreader/compare/7683c34dd46735e7f3d56d1511cf6a4d079f1e44...60db8570570fdfa426b79c20cf44e72b9ba11310

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/genomethreader/compare/7683c34dd46735e7f3d56d1511cf6a4d079f1e44...60db8570570fdfa426b79c20cf44e72b9ba11310
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to