[med-svn] [Git][med-team/tm-align][master] 4 commits: make the build reproducible

Andreas Tille gitlab at salsa.debian.org
Tue Dec 24 07:11:49 GMT 2019



Andreas Tille pushed to branch master at Debian Med / tm-align


Commits:
f0370c82 by Andreas Tille at 2019-12-24T06:58:37Z
make the build reproducible

- - - - -
851ffce6 by Andreas Tille at 2019-12-24T07:07:20Z
Rename autopkgtest script to run-unit-test as in other Debian Med packages

- - - - -
d61a29a4 by Andreas Tille at 2019-12-24T07:07:46Z
R-U: autopkgtest: s/ADTTMP/AUTOPKGTEST_TMP/g

- - - - -
a6208a6c by Andreas Tille at 2019-12-24T07:09:10Z
routine-update: Ready to upload to unstable

- - - - -


6 changed files:

- debian/README.test
- debian/changelog
- debian/docs
- debian/rules
- debian/tests/control
- debian/tests/installation-test → debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -3,12 +3,12 @@ Notes on how this package can be tested.
 
 This package can be tested by executing
 
-    sh installation-test
+    sh run-unit-test
 
 in order to confirm its integrity.
 
 Package contains 2 executable files - TMalign and TMscore.
-Both are called in `installation-test` script.
+Both are called in `run-unit-test` script.
 
 To test manually, cd to some dir, where you have write permissions and do
  


=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+tm-align (20190822+dfsg-2) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * make the build reproducible
+    Closes: #943954
+
+  [ Andreas Tille ]
+  * Rename autopkgtest script to run-unit-test as in other Debian Med
+    packages
+  * autopkgtest: s/ADTTMP/AUTOPKGTEST_TMP/g
+
+ -- Andreas Tille <tille at debian.org>  Tue, 24 Dec 2019 08:07:50 +0100
+
 tm-align (20190822+dfsg-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/docs
=====================================
@@ -1,2 +1,2 @@
-debian/tests/installation-test
+debian/tests/run-unit-test
 debian/README.test


=====================================
debian/rules
=====================================
@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_build:
 	for src in `ls *.f` ; do \
-	    gfortran -O3 -g -ffast-math $(CPPFLAGS) $(LDFLAGS) -lm -o `basename $${src} .f` $${src} ; \
+	    gfortran -ffast-math $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -lm -o `basename $${src} .f` $${src} ; \
 	done
 
 override_dh_auto_clean:


=====================================
debian/tests/control
=====================================
@@ -1,2 +1,2 @@
-Tests: installation-test
+Tests: run-unit-test
 Depends: @


=====================================
debian/tests/installation-test → debian/tests/run-unit-test
=====================================
@@ -6,12 +6,12 @@ set -e
 
 pkg=tm-align
 
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
-  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
 fi
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 
 cp -a /usr/share/doc/${pkg}/examples/* .
 find . -type f -name "*.gz" -exec gunzip \{\} \;



View it on GitLab: https://salsa.debian.org/med-team/tm-align/compare/36a808393bd838e5a7dd6d1aa1bc0ce373fc2267...a6208a6c6a9e62a95eae875ef7bc6e74ba0349ba

-- 
View it on GitLab: https://salsa.debian.org/med-team/tm-align/compare/36a808393bd838e5a7dd6d1aa1bc0ce373fc2267...a6208a6c6a9e62a95eae875ef7bc6e74ba0349ba
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191224/8c095b73/attachment-0001.html>


More information about the debian-med-commit mailing list