OVS Archive file name changed. 03/10903/2
authorThomas F Herbert <therbert@redhat.com>
Tue, 1 Mar 2016 03:25:24 +0000 (22:25 -0500)
committerThomas F Herbert <therbert@redhat.com>
Tue, 1 Mar 2016 14:06:46 +0000 (09:06 -0500)
Change message to call archive snapshot

Change-Id: Ia07f6e38e2108f061dd616aa393cd4d98d7e8f11
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
build/build_ovs_rpm.sh

index 53e8745..0eb6478 100755 (executable)
@@ -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 "--------------------------------------------"