[med-svn] [Git][med-team/wise][master] 4 commits: Fix patch to enable cross building

Andreas Tille gitlab at salsa.debian.org
Fri Apr 17 14:58:55 BST 2020



Andreas Tille pushed to branch master at Debian Med / wise


Commits:
1ddef622 by Andreas Tille at 2020-04-17T15:39:50+02:00
Fix patch to enable cross building

- - - - -
1d9d14f6 by Andreas Tille at 2020-04-17T15:42:01+02:00
Fix permissions of *.hmm files

- - - - -
7656e4b9 by Andreas Tille at 2020-04-17T15:51:20+02:00
Fix autopkgtest since data files are not compressed any more

- - - - -
34ad49e6 by Andreas Tille at 2020-04-17T15:55:42+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/rules
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-wise (2.4.1-21.1) UNRELEASED; urgency=medium
+wise (2.4.1-22) unstable; urgency=medium
 
   [ Helmut Grohne ]
   * Improve cross building: Let dh_auto_build pass cross tools to make.
@@ -20,8 +20,10 @@ wise (2.4.1-21.1) UNRELEASED; urgency=medium
   * Set field Upstream-Name in debian/copyright.
   * Remove obsolete field Name from debian/upstream/metadata (already
     present in machine-readable debian/copyright).
+  * Fix permissions of *.hmm files
+  * Fix autopkgtest since data files are not compressed any more
 
- -- Helmut Grohne <helmut at subdivi.de>  Thu, 09 Apr 2020 11:46:11 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 17 Apr 2020 15:51:34 +0200
 
 wise (2.4.1-21) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -18,7 +18,7 @@ include /usr/share/dpkg/buildflags.mk
 	dh $@
 
 override_dh_auto_build:
-	dh_auto_build --sourcedirectory=src
+	dh_auto_build --sourcedirectory=src -- all
 	$(MAKE) -C debian/manpages.d
 #	build documentation manually (docs/makefile is not useable)
 	find src/models/ src/dynlibsrc/ -name '*.tex' -print0 | LC_ALL=C sort -z | xargs -0 cat | perl docs/gettex.pl > docs/temp.tex
@@ -93,3 +93,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	echo "A autopkgtest was added as compensation."
 	# make -C src test
 endif
+
+override_dh_fixperms:
+	dh_fixperms
+	find debian -iname "*.hmm" -exec chmod -x \{\} \;


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,11 +1,12 @@
 #!/bin/bash -e
 
 pkg=wise
-if [ "$AUTOPKGTEST_TMP" = "" ] ; then
-  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+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 $AUTOPKGTEST_TMP
 cp /usr/share/doc/wise-data/examples/* $AUTOPKGTEST_TMP
-gunzip *.gz
+gunzip -r *
 perl <(sed 1d testman.pl) < short.test
-# rm -f $AUTOPKGTEST_TMP/*



View it on GitLab: https://salsa.debian.org/med-team/wise/-/compare/3dbba28bba1aad91a06d77a88325378e1c8fe7dd...34ad49e6d46b9c02850c1a179d7758c8ae82db0c

-- 
View it on GitLab: https://salsa.debian.org/med-team/wise/-/compare/3dbba28bba1aad91a06d77a88325378e1c8fe7dd...34ad49e6d46b9c02850c1a179d7758c8ae82db0c
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/20200417/a0a48b85/attachment-0001.html>


More information about the debian-med-commit mailing list