diff options
author | Ondřej Surý <ondrej@sury.org> | 2020-09-27 11:46:31 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2020-11-19 21:30:06 +0100 |
commit | cace1d9bf178d447599fe7caa5ccad9a89babe03 (patch) | |
tree | fbbf9be2efffdc56639373412f522c86ac91ea64 /tools | |
parent | debian: Update tools/build-debian-package.sh to use git-buildpackage (diff) | |
download | frr-cace1d9bf178d447599fe7caa5ccad9a89babe03.tar.xz frr-cace1d9bf178d447599fe7caa5ccad9a89babe03.zip |
debian: Remove the changelog-auto automation in favor of dch
Signed-off-by: Ondřej Surý <ondrej@sury.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tarsource.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/tarsource.sh b/tools/tarsource.sh index 645982ece..b548fb8ac 100755 --- a/tools/tarsource.sh +++ b/tools/tarsource.sh @@ -271,17 +271,16 @@ lsfiles="frr-${PACKAGE_VERSION}.tar.$zip" if $debian; then if ! $adjchangelog; then - GIT_DATE=$(git log --format=format:%ad -1 --date=rfc) - sed -e "s/@DATE@/$GIT_DATE/" \ - < debian/changelog-auto \ - > "$tmpdir/debian/changelog" + dch --force-bad-version \ + --force-distribution \ + --preserve \ + --newversion "$DEBVER" \ + "autoconf changelog entry -- for git autobuilds only." fi cat debian/changelog >> "$tmpdir/debian/changelog" DEBVER="`dpkg-parsechangelog -l\"$tmpdir/debian/changelog\" -SVersion`" eval $debsrc | tar -cho $taropt \ - --exclude debian/changelog \ - --exclude debian/subdir.am \ -T - -f ../frr_${DEBVER}.debian.tar # add specially prepared files from above tar -uf ../frr_${DEBVER}.debian.tar $taropt -C "$tmpdir" debian/changelog |