diff options
Diffstat (limited to 'dist/vespa.spec')
-rw-r--r-- | dist/vespa.spec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index e6eff61b214..f02475ae916 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -487,6 +487,15 @@ nearest neighbor search used for low-level benchmarking. %setup -c -D -T %else %setup -q +echo '%{version}' > VERSION +case '%{version}' in + *.0) + : + ;; + *) + sed -i -e 's,<version>7-SNAPSHOT</version>,<version>%{version}</version>,' $(find . -name pom.xml -print) + ;; +esac %endif %build |