Andreas Tille pushed to branch master at Debian Med / fastlink
Commits: 072c7379 by Andreas Tille at 2020-10-30T09:13:10+01:00 Add fake watch file - - - - - b761377e by Andreas Tille at 2020-10-30T09:29:06+01:00 Do not create new tarball if there is no new patchlevel - - - - - 3 changed files: - debian/changelog - debian/get-orig-source - debian/watch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +fastlink (4.1P-fix100+dfsg-3) UNRELEASED; urgency=medium + + * Add fake watch file + * debian/get-orig-source: Do not create new tarball if there is no new + patchlevel + + -- Andreas Tille <[email protected]> Fri, 30 Oct 2020 09:13:00 +0100 + fastlink (4.1P-fix100+dfsg-2) unstable; urgency=medium * Secure URI in Homepage ===================================== debian/get-orig-source ===================================== @@ -3,7 +3,11 @@ # since we do repack *.Z compressed tarballs anyway some useless # files are removed via Files-Excluded in debian/copyright -NAME=fastlink +COMPRESS=xz + +NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` +VERSION=$(dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.fixdfsg+-]\+\)-[0-9]\+$/\1/') + UPSTREAMTAR="$NAME".tar.Z MAINVERSION="4.1P" curdir=`pwd` @@ -12,11 +16,17 @@ mkdir -p ../tarballs cd ../tarballs rm -f "$UPSTREAMTAR" -wget https://ftp.ncbi.nih.gov/pub/fastlink/$UPSTREAMTAR +wget ftp://ftp.ncbi.nih.gov/pub/fastlink/$UPSTREAMTAR tar -xzf "$UPSTREAMTAR" PATCHVERSION=`grep -v "^ " fastlink/README.updates | tail -n 1 | sed 's/^\([0-9a-z]\+\)\..*/\1/'` UPSTREAMVERSION="${MAINVERSION}-fix${PATCHVERSION}+dfsg" + +if [ "$UPSTREAMVERSION" = "$VERSION" ] ; then + echo "No new version available" + exit 1 +fi + UPSTREAMDIR="${NAME}-${UPSTREAMVERSION}" mv "$NAME" "$UPSTREAMDIR" @@ -24,7 +34,7 @@ cd $UPSTREAMDIR mkdir debian ln -s $curdir/debian/changelog debian/changelog ln -s $curdir/debian/copyright debian/copyright -mk-origtargz --repack --compress xz --version $UPSTREAMVERSION ../$UPSTREAMTAR +mk-origtargz --repack --compress $COMPRESS --version $UPSTREAMVERSION ../$UPSTREAMTAR cd .. rm -rf "$UPSTREAMDIR" ===================================== debian/watch ===================================== @@ -1 +1,4 @@ # Upstream does not provide versioned tarballs +version=4 +opts=dversionmangle=s/.*/0.No-Release/ \ +https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz View it on GitLab: https://salsa.debian.org/med-team/fastlink/-/compare/b23e6c6bae6cd722be62620ed24a6cb4ae2cc1cb...b761377e3cf941c15cee122a2d50cd7715e2bc65 -- View it on GitLab: https://salsa.debian.org/med-team/fastlink/-/compare/b23e6c6bae6cd722be62620ed24a6cb4ae2cc1cb...b761377e3cf941c15cee122a2d50cd7715e2bc65 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
