From 28ab96c0bb44adf0c8a23c8fd7749ab11d6d7460 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch <jtattermusch@google.com> Date: Thu, 26 Feb 2015 10:38:06 -0800 Subject: [PATCH] fix the version of debian package builder script --- tools/distpackages/build_deb_packages.sh | 5 +++-- .../templates/libgrpc-dev/DEBIAN/control | 2 +- .../usr/share/doc/libgrpc-dev/changelog.gz | Bin 136 -> 121 bytes .../templates/libgrpc/DEBIAN/control | 2 +- .../libgrpc/usr/share/doc/libgrpc/changelog.gz | Bin 132 -> 117 bytes 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/distpackages/build_deb_packages.sh b/tools/distpackages/build_deb_packages.sh index a5f945bd9a..7b2acb6577 100755 --- a/tools/distpackages/build_deb_packages.sh +++ b/tools/distpackages/build_deb_packages.sh @@ -33,7 +33,8 @@ deb_dest="deb_out" mkdir -p $deb_dest -version='0.8.0.0' +version='0.5.0.0' +pkg_version='0.5.0' if [ -f /.dockerinit ]; then # We're in Docker where uname -p returns "unknown". @@ -97,7 +98,7 @@ do # Build the debian package fakeroot dpkg-deb --build $tmp_dir/$pkg_name || { echo "dpkg-deb failed"; exit 1; } - deb_path=$deb_dest/${pkg_name}_amd64.deb + deb_path=$deb_dest/${pkg_name}_${pkg_version}_amd64.deb # Copy the .deb file to destination dir cp $tmp_dir/$pkg_name.deb $deb_path diff --git a/tools/distpackages/templates/libgrpc-dev/DEBIAN/control b/tools/distpackages/templates/libgrpc-dev/DEBIAN/control index 64dc79af19..289a278c5f 100644 --- a/tools/distpackages/templates/libgrpc-dev/DEBIAN/control +++ b/tools/distpackages/templates/libgrpc-dev/DEBIAN/control @@ -1,5 +1,5 @@ Package: libgrpc-dev -Version: 0.8.0 +Version: 0.5.0 Architecture: amd64 Maintainer: Jan Tattermusch <jtattermusch@google.com> Depends: libgrpc, libc6-dev | libc-dev diff --git a/tools/distpackages/templates/libgrpc-dev/usr/share/doc/libgrpc-dev/changelog.gz b/tools/distpackages/templates/libgrpc-dev/usr/share/doc/libgrpc-dev/changelog.gz index eabdf46e6e2d798dab32e8ea88029448c988e330..4f557b8e9f8d1d0b78ec0ee245d1f9b890aab681 100644 GIT binary patch literal 121 zcmV-<0EYh`iwFqoW$#o117m1mZf9j|Z)X6@$xKQwDoEB%Ni9>*FwisAGtlJX;#5%3 zQt-^nEXhpFQ7B5yNlh$H)dLCZ>MD38<|%|EmXxFx<(3vFXDHZYl^}Qy>G}ETIjMTd b`MGuq3PuKorn&}3x`vhjDprg?W&i*H$B;EI literal 136 zcmV;30C)c%iwFo>jpkGW17m1mZf9j|Z)X6@$xKQwDoEB%Ni9>*FwnEmGtlJX;#5%3 zQt(YoNmX!3P0CEnQz%GG&Q45ERmjQAD*^G7b5axY^gs%AbrrmT0wIYdC8<TZrNzk^ q3N~3K2%bZFetvpRs$Oz_uAPE{k%6J9u7Q!Rp(OyC2GAFH0001vPC6q1 diff --git a/tools/distpackages/templates/libgrpc/DEBIAN/control b/tools/distpackages/templates/libgrpc/DEBIAN/control index 75c224e9a4..417a825827 100644 --- a/tools/distpackages/templates/libgrpc/DEBIAN/control +++ b/tools/distpackages/templates/libgrpc/DEBIAN/control @@ -1,5 +1,5 @@ Package: libgrpc -Version: 0.8.0 +Version: 0.5.0 Architecture: amd64 Maintainer: Jan Tattermusch <jtattermusch@google.com> Depends: libc6 diff --git a/tools/distpackages/templates/libgrpc/usr/share/doc/libgrpc/changelog.gz b/tools/distpackages/templates/libgrpc/usr/share/doc/libgrpc/changelog.gz index c07b4d2637133dc9f0f7d8eb373bb203dd4af141..12d4cd9300a286b4a6d662f8a4785cd5e30b7dc4 100644 GIT binary patch literal 117 zcmV-*0E+(~iwFqAW$#o117m1mZf9j|Z)X6@$xKQwDo9q)FwisAGtlJX;#5%3Qt-^n zEXhpFQ7B5yNlh$H)dLCZ>MD38<|%|EmXxFx<(3vFXDHZYl^}Qy>G}ETIjMTd`MGuq X3PuKorn&}3x<+OIvZ&v}VgLXD0cA9; literal 132 zcmV-~0DJ!*iwFoQiRM%S17m1mZf9j|Z)X6@$xKQwDo9q)FwnEmGtlJX;#5%3Qt(Yo zNmX!3P0CEnQz%GG&Q45ERmjQAD*^G7b5axY^gs%AbrrmT0wIYdC8<TZrNzk^3N~3K m2%bZFetvpRs$Oz_uAPE{k%6J9u7Q!Rp(Ox|5GST|0001?f;cq* -- GitLab