summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jennings <mej@lanl.gov>2020-11-13 13:06:35 -0700
committerMichael Jennings <mej@lanl.gov>2020-11-13 13:06:35 -0700
commit7d2d37d8f11857e1273d7d32146a72fc4026d02d (patch)
tree25203b420b4ef95a90876dc13fbfde9da4bd757c
parent4b703ef6b4efb9b58612cf77e287436d8f86d6ab (diff)
downloadlibast-7d2d37d8f11857e1273d7d32146a72fc4026d02d.tar.gz
libast.spec: Fix typo in version checkHEADmaster
Woopsie. That "v" shouldn't be there!
-rw-r--r--libast.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/libast.spec b/libast.spec
index 51b6bdf..2afb5a5 100644
--- a/libast.spec
+++ b/libast.spec
@@ -1,6 +1,6 @@
%{expand:%%global gd_head %(git describe --tags HEAD)}
-%{expand:%%global gd_rel_delta %(git describe --abbrev=4 --always --tags --long --match 'v[[:digit:]][[:alnum:].]*[[:alnum:]]' --dirty=.1 | cut -d- -f 2- | tr '-' '.')}
-%global rel_pre_post %(echo "%{gd_head}" | grep -Eq '^v%{version}' >&/dev/null && echo 1. || echo 0.)
+%{expand:%%global gd_rel_delta %(git describe --abbrev=4 --always --tags --long --match '[[:digit:]][[:alnum:].]*[[:alnum:]]' --dirty=.1 | cut -d- -f 2- | tr '-' '.')}
+%global rel_pre_post %(echo "%{gd_head}" | grep -Eq '^%{version}' >&/dev/null && echo 1. || echo 0.)
%{!?rel:%global rel %{rel_pre_post}%{gd_rel_delta}%{?dist}}
%global name libast