aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2017-10-09 14:50:08 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-10-14 09:12:32 +0000
commit41988e58ba8bced39f3aa85b2a0c0fb37c9343ce (patch)
treedb2e878a2f7c16e121dec667b86d09d7e7a3be12 /extras
parente41289115ffb24d95a5d0bc2ef33001d06a28688 (diff)
Fix bug with temporary directory when building rpms.
Fixes bug introduced in commit 5349f94d. JIRA: VPP-1014 Change-Id: Ia18f4c6f5f1124306cce790a36f6de970d186687 Signed-off-by: Thomas F Herbert <therbert@redhat.com> (cherry picked from commit 8c5bfbcc09f44f3ed2b87b0b5c257fbb7b735f97)
Diffstat (limited to 'extras')
-rw-r--r--extras/rpm/vpp.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index 328475500f9..7490a165b37 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -126,7 +126,7 @@ This package contains the python bindings for the vpp api
%prep
# Unpack into dir with longer name as work around of debugedit bug in in rpm-build 4.13
rm -rf %{name}-%{_version}
-rm -rf %{_tmpbuild_dir}
+rm -rf %{_tmp_build_dir}
/usr/bin/xz -dc '%{_sourcedir}/%{name}-%{_version}-%{_release}.tar.xz' | /usr/bin/tar -xf -
mv %{name}-%{_version} %{_tmp_build_dir}
cd '%{_tmp_build_dir}'