aboutsummaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
Diffstat (limited to 'build-root')
-rw-r--r--build-root/rpm/vpp.spec1
-rwxr-xr-xbuild-root/scripts/version1
2 files changed, 2 insertions, 0 deletions
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index fbadf07c3ae..85b1286c76e 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -113,6 +113,7 @@ sysctl --system
%{_unitdir}/vpp.service
/usr/bin/vpp*
/usr/bin/svm*
+/usr/bin/elftool
%config /etc/sysctl.d/80-vpp.conf
%config /etc/vpp/startup.conf
diff --git a/build-root/scripts/version b/build-root/scripts/version
index 9d236bc227a..bbafb9bbf8f 100755
--- a/build-root/scripts/version
+++ b/build-root/scripts/version
@@ -11,6 +11,7 @@ fi
if [ "$1" = "rpm-release" ]; then
[ -z "${ADD}" ] && echo release && exit
+ CMT=$(git describe --dirty --match 'v*'| cut -s -d- -f3,4 | sed 's/-/_/')
echo ${ADD}~${CMT}
exit
fi