From 7ad20f0f83d5abb88e2cb32d288a794020f5051c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 31 Oct 2011 21:03:55 +0000 Subject: [PATCH] debian & redhat bugs --- id-release | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/id-release b/id-release index 1e1c650..6060817 100755 --- a/id-release +++ b/id-release @@ -57,7 +57,7 @@ fi perl -i.bak -npe "\$. == 1 && s,\(.*?\),($version)," debian/changelog # update redhat version file -perl -i.bak -npe "s,^Version: .*,Version: $version," IDMETA +perl -i.bak -npe "s,^Version: .*,Version: $version," $spec ###################################################################### echo "" @@ -74,6 +74,7 @@ fi ###################################################################### echo "" echo "# On RedHat or centos, please run the commands" +echo "sudo date" echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh" echo "sudo cp $package-$version.tar.gz /usr/src/redhat/SOURCES/" echo "sudo rpmbuild -ba $spec" @@ -88,7 +89,7 @@ echo "# On debian or ubuntu, please run the commands" echo "sudo rm -rf deb-src" echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh" echo "\$HOME/proj/git-tools/id-deb-build/id-mk-deb-src.sh" -echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh" +echo "sudo \$HOME/proj/git-tools/id-deb-build/id-pbuild.sh" echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload" echo "" echo "# on kebab run: sudo su; cd \$HOME/proj/git-tools/update-archive; update-archive.sh" -- 1.7.10.4