diff --git a/packaging/RPM/makerpms.sh b/packaging/RPM/makerpms.sh index c11841b..999eb86 100755 --- a/packaging/RPM/makerpms.sh +++ b/packaging/RPM/makerpms.sh @@ -50,7 +50,7 @@ RPMBUILD="rpmbuild" # # If we're not directly on a tag, this is a devel release; we append # .0...devel to the release. -TAG=`git describe` +TAG=`git describe --tags` case "$TAG" in libnfs-*) TAG=${TAG##libnfs-}