aboutsummaryrefslogtreecommitdiffstats
path: root/extras/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'extras/rpm')
-rw-r--r--extras/rpm/vpp.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index 038c10bc9ff..1bb78af8cf7 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -168,7 +168,10 @@ Requires(post): python3-policycoreutils
This package contains a tailored VPP SELinux policy
%prep
-%setup -q -n %{name}-%{_version}
+%setup -q -c -T -n %{name}-%{_version}
+cd ..
+unxz --stdout ./SOURCES/%{name}-%{_version}-%{_release}.tar.xz | tar --extract --touch
+cd -
%pre
# Add the vpp group
@@ -179,7 +182,7 @@ groupadd -f -r vpp
. /opt/rh/devtoolset-9/enable
%endif
%if %{with aesni}
- make bootstrap
+ make install-dep
make -C build-root PLATFORM=vpp TAG=%{_vpp_tag} install-packages
%else
make bootstrap AESNI=n