summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/build_ovs_rpm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh
index 53e8745..0eb6478 100755
--- a/build/build_ovs_rpm.sh
+++ b/build/build_ovs_rpm.sh
@@ -148,12 +148,12 @@ if [ ! -z $DPDK ]; then
cd $TMPDIR/ovs
git checkout $snapgit
echo "--------------------------------------------"
- echo "Creating archive, $archive using copr script"
+ echo "Creating snapshot, $archive with name same as in spec file."
echo
snapser=`git log --pretty=oneline | wc -l`
basever=`grep AC_INIT configure.ac | cut -d' ' -f2 | cut -d, -f1`
- prefix=openvswitch-${basever}-${snapser}.git${snapgit}
- archive=$prefix.tar.gz
+ prefix=openvswitch-${basever}
+ archive=openvswitch-${basever}.tar.gz
git archive --prefix=${prefix}/ HEAD | gzip -9 > $RPMDIR/SOURCES/${archive}
cd $TMPDIR/openvswitch
echo "--------------------------------------------"