summaryrefslogtreecommitdiffstats
path: root/build/build_ovs_rpm.sh
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-09-09 16:06:24 -0400
committerThomas F Herbert <therbert@redhat.com>2016-09-12 11:57:21 -0400
commit3e734f87b920bd8d61c09f3904d7bbdf73cd53bc (patch)
tree29f6db5f07250136322453ffb40b49caba2d5620 /build/build_ovs_rpm.sh
parenta7ce4aa9b63f6f54e710aab4109efa7a7284c635 (diff)
Delete local spec files for NSH patches.
Instead use spec files from external github for building NSH patches. JIRA: OVSNFV-41 Change-Id: I20cf103f02286c30c8f2be674d7772c3b20ef40d Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/build_ovs_rpm.sh')
-rwxr-xr-xbuild/build_ovs_rpm.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/build_ovs_rpm.sh b/build/build_ovs_rpm.sh
index 3c8b12e..0972dd9 100755
--- a/build/build_ovs_rpm.sh
+++ b/build/build_ovs_rpm.sh
@@ -88,7 +88,12 @@ function apply_nsh_patches() {
fi
git clone https://github.com/yyang13/ovs_nsh_patches.git
cp $TMPDIR/ovs_nsh_patches/*.patch $RPMDIR/SOURCES
- cp $BUILDDIR/patches/ovs_nsh_patches/*.spec $BUILDDIR
+ cd $TMPDIR
+ if [ -e buildovsnsh ]; then
+ rm -rf buildovsnsh
+ fi
+ git clone https://github.com/tfherbert/buildovsnsh.git
+ cp buildovsnsh/*.spec $BUILDDIR
}
VERSION=2.3.90