Fix rpm packaging bit-rot
Change-Id: Ia710b0773984891ee18c6c0558cc09b984043e38 Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user