0.26.2 Invalid version (double separator '-') with rpm
Andreas Stieger <[email protected]> Thu, 25 Dec 2025 16:42:48 +0100
| Newsgroups | gmane.network.gnunet.devel |
|---|---|
| Message-ID | <[email protected]> |
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=
=20
using composite string in .version and ingesting it into meson project=20
(via scripts/get_version.sh) has issues: Specifically it affects=20
automatic dependency generation in rpm when using the project version=20
with double separator:
[=C2=A0 198s] RPM build warnings:
[=C2=A0 198s]=C2=A0 =C2=A0 =C2=A0Invalid version (double separator '-'): 0=
.26.2-1-gad3ced416
The work-around is trivial, but could you consider reviewing the tarball=
=20
release procedure?
Andreas