Package list rust-libslirp / 12d0ff70-39f7-4596-b6c4-15d4b69ac580/main repackage.sh
12d0ff70-39f7-4596-b6c4-15d4b69ac580/main

Tree @12d0ff70-39f7-4596-b6c4-15d4b69ac580/main (Download .tar.gz)

repackage.sh @12d0ff70-39f7-4596-b6c4-15d4b69ac580/mainraw · history · blame

#!/bin/sh
# Repackage a crate at the exact version that it was packaged at.
#
# Usage: ./repackage.sh <CRATE> [<SEMVER>]

. ./vars.sh.frag

if ! shouldbuild "$BUILDDIR/debian/changelog" "$PKGDIR/debian/changelog" && \
   ! shouldbuild "$BUILDDIR/debian/changelog" "$DEBCARGO"; then
	exit 0
fi

REALVER="$(get_existing_version "$PKGDIR")"
run_debcargo --no-overlay-write-back --changelog-ready