assert_cmd: update to 2.0.5

This commit is contained in:
Sebastian Ramacher 2022-10-30 21:19:22 +01:00
parent 7097a76f8e
commit 1a6d9f8698
3 changed files with 18 additions and 12 deletions

View File

@ -94,7 +94,7 @@ if shouldbuild "$SRCNAME.dsc" "$PKGNAME/debian/changelog" ]; then
# extract old tarball into new directory, to avoid "modified files" problems with dpkg-source later # extract old tarball into new directory, to avoid "modified files" problems with dpkg-source later
( cd "$PKGNAME" && dpkg-source --after-build . && tar --strip-components=1 -xf "../${DEBSRC}_${UPSVER}.orig.tar.gz" ) ( cd "$PKGNAME" && dpkg-source --after-build . && tar --strip-components=1 -xf "../${DEBSRC}_${UPSVER}.orig.tar.gz" )
fi fi
( cd "$PKGNAME" && dpkg-buildpackage -d -S --no-sign ) ( cd "$PKGNAME" && dpkg-buildpackage -d -S --no-sign -nc )
# sign if not UNRELEASED # sign if not UNRELEASED
if echo "$DEBDIST" | grep -qv UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then if echo "$DEBDIST" | grep -qv UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then
debsign ${DEBSIGN_KEYID:+-k $DEBSIGN_KEYID} "${SRCNAME}_source.changes" debsign ${DEBSIGN_KEYID:+-k $DEBSIGN_KEYID} "${SRCNAME}_source.changes"

View File

@ -22,19 +22,19 @@ grep_sources_entry() {
grep '^deb[^#]*://[^#[:space:]]*[[:space:]]*'"$@" grep '^deb[^#]*://[^#[:space:]]*[[:space:]]*'"$@"
} }
if ! grep_sources_entry "$ARCHIVE" -qR /etc/apt/sources.list /etc/apt/sources.list.d/ || \ # if ! grep_sources_entry "$ARCHIVE" -qR /etc/apt/sources.list /etc/apt/sources.list.d/ || \
! grep_sources_entry "$ARCHIVT" -qR /etc/apt/sources.list /etc/apt/sources.list.d/; then # ! grep_sources_entry "$ARCHIVT" -qR /etc/apt/sources.list /etc/apt/sources.list.d/; then
cat <<-eof # cat <<-eof
To make this script work, you will need Debian Testing *AND* Debian Unstable # To make this script work, you will need Debian Testing *AND* Debian Unstable
in your sources.list. If you want your system to prefer Debian Testing, be # in your sources.list. If you want your system to prefer Debian Testing, be
sure to also add these lines to your /etc/apt/apt.conf: # sure to also add these lines to your /etc/apt/apt.conf:
APT::Default-Release "$ARCHIVT"; # APT::Default-Release "$ARCHIVT";
After these changes, make sure to re-run \`apt-get update\`. # After these changes, make sure to re-run \`apt-get update\`.
eof # eof
exit 1 # exit 1
fi # fi
if [ $(($(date +%s) - $(stat -c %Y /var/cache/apt/pkgcache.bin))) -gt 7200 ]; then if [ $(($(date +%s) - $(stat -c %Y /var/cache/apt/pkgcache.bin))) -gt 7200 ]; then
read -p "APT cache is a bit old, update? [Y/n] " x read -p "APT cache is a bit old, update? [Y/n] " x

View File

@ -1,3 +1,9 @@
rust-assert-cmd (2.0.5-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
* Package assert_cmd 2.0.5 from crates.io using debcargo 2.5.0
-- Sebastian Ramacher <sramacher@debian.org> Sun, 30 Oct 2022 21:19:06 +0100
rust-assert-cmd (2.0.4-1) unstable; urgency=medium rust-assert-cmd (2.0.4-1) unstable; urgency=medium
* Package assert_cmd 2.0.4 from crates.io using debcargo 2.5.0 * Package assert_cmd 2.0.4 from crates.io using debcargo 2.5.0