Re: 0.26.2 Invalid version (double separator '-') with rpm
Martin Schanzenbach <[email protected]> Fri, 26 Dec 2025 10:37:11 +0900
| Newsgroups | gmane.network.gnunet.devel |
|---|---|
| Message-ID | <[email protected]> |
May I ask why you are building the RPM?
I am trying to keep
https://copr.fedorainfracloud.org/coprs/schanzen/gnunet/ more or less
up to date myself, maybe we can converge.
Best
Martin
Am Donnerstag, dem 25.12.2025 um 16:42 +0100 schrieb Andreas Stieger:
> I noticed that the v0.26.2 tarball is packaged so:
>=20
> $ tar -xf gnunet-0.26.2.tar.gz gnunet-0.26.2-1-gad3ced416/.version -O
> 0.26.2-1-gad3ced416
>=20
> 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
> with double separator:
>=20
> [=C2=A0 198s] RPM build warnings:
> [=C2=A0 198s]=C2=A0 =C2=A0 =C2=A0Invalid version (double separator '-'): =
0.26.2-1-
> gad3ced416
>=20
> The work-around is trivial, but could you consider reviewing the
> tarball=20
> release procedure?
>=20
> Andreas
>=20