summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2017-07-19 19:17:15 -0400
committerNeale Ranns <nranns@cisco.com>2017-08-08 15:29:11 +0000
commitb60f4965bf6f51eb746e18fa0307af8e3444bf96 (patch)
treee0522500ce15459996f804d7bde197c41546177a /Makefile
parent80cb2584c3fecec59c75f94726a95d2b2adce188 (diff)
Create source rpm.
Use actual file name for tarball. Includes required modifications in spec file for unpacking srpm. Spec file source references actual dist tarball name so it matches the revision and release while building from srpm. JIRA: VPP-498 Change-Id: I8b55a69f060b7864527b94d8c5b0a2ebccc306b1 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c8eba6e3ed3..1cce928aa1a 100644
--- a/Makefile
+++ b/Makefile
@@ -435,6 +435,9 @@ pkg-deb:
pkg-rpm: dist
make -C extras/rpm
+pkg-srpm: dist
+ make -C extras/rpm srpm
+
dpdk-install-dev:
make -C dpdk install-$(PKG)