Fix bug with temporary directory when building rpms. 20/8720/1
authorThomas F Herbert <therbert@redhat.com>
Mon, 9 Oct 2017 18:50:08 +0000 (14:50 -0400)
committerThomas F Herbert <therbert@redhat.com>
Mon, 9 Oct 2017 18:50:38 +0000 (14:50 -0400)
Fixes bug introduced in commit 5349f94d.

JIRA: VPP-1014

Change-Id: Ia18f4c6f5f1124306cce790a36f6de970d186687
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
extras/rpm/vpp.spec

index 501297b..d611ac5 100644 (file)
@@ -122,7 +122,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}'