[med-svn] [Git][med-team/community/package_template][master] Always use latest Standards-Version

Andreas Tille gitlab at salsa.debian.org
Wed Jan 22 20:39:26 GMT 2020



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
8ad341e0 by Andreas Tille at 2020-01-22T21:39:06+01:00
Always use latest Standards-Version

- - - - -


1 changed file:

- personalise_template


Changes:

=====================================
personalise_template
=====================================
@@ -56,5 +56,13 @@ if echo "$PHOMEPAGE" | grep -q 'gitlab\.com' ; then
   echo "$PHOMEPAGE/tags?sort=updated_desc .*/archive/v?@ANY_VERSION@/${UNAME}[-v]*.*\.tar\.gz" >> watch
   sed -i -e "s/^\(Upstream-Name:\).*/\1 ${UNAME}/" -e "s?^\(Source:\).*?\1 ${PHOMEPAGE}?" copyright
 fi
+
+STANDARDSVERSION=$(LC_ALL=C apt-cache policy debian-policy | grep Candidate | sed 's/^ *Candidate: \([0-9]\.[0-9]\.[0-9]\).*/\1/')
+if [ "$STANDARDSVERSION" = "" ] ; then
+  echo "W: Failure detecting latest Standards-Version"
+else
+  sed -i "s/^Standards-Version:.*/Standards-Version: $STANDARDSVERSION/" control
+fi
+
 cd "$CURDIR"
 mv "$PKG" "$PKG"_



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/8ad341e07ef2770e63c39b1fc65b2145b03f2ac6

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/8ad341e07ef2770e63c39b1fc65b2145b03f2ac6
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/20200122/1f3cb8ce/attachment.html>


More information about the debian-med-commit mailing list