I noticed that the v0.26.2 tarball is packaged so:
$ tar -xf gnunet-0.26.2.tar.gz gnunet-0.26.2-1-gad3ced416/.version -O
0.26.2-1-gad3ced416
Tar root directories other than %{name}-%{version} are a bit clunky. But
using composite string in .version and ingesting it into meson project
(via scripts/get_version.sh) has issues: Specifically it affects
automatic dependency generation in rpm when using the project version
with double separator:
[ 198s] RPM build warnings:
[ 198s] Invalid version (double separator '-'): 0.26.2-1-gad3ced416
The work-around is trivial, but could you consider reviewing the tarball
release procedure?
Andreas