
| Msg # 166 of 1179 on ZZLI4422, Thursday 9-10-25, 1:10 |
| From: JONAS SMEDEGAARD |
| To: ALL |
| Subj: Re: Specify exact version in debian/cont |
From: jonas@jones.dk Quoting Julien Lecomte (2025-09-10 00:44:33) > On 09/09/2025 22:43, Soren Stoutner wrote: > > On Tuesday, September 9, 2025 1:39:21PM Mountain Standard Time Soren Stoutner > > wrote: > >> On Tuesday, September 9, 2025 1:15:20PM Mountain Standard Time Julien > > Lecomte > >> wrote: > >>> Hello > >>> > >>> I'm trying to create a package nwnxee that depends on package > >>> nwnee-dedicated. > >>> > >>> But both versions must be the same. If nwnxee is installed as version > >>> 8193.37.15+deb12u2~git18cffdba, then nwnee-dedicated must be > >>> 8193.37.15-xyz, where xyz can be any number. It can not be > >>> 8193.37.14-xyz nor 8193.37.16-xyz. > >>> > >>> And then, same goes for 8193.37.16 which must match with 8193.37.16 but > >>> not 8193.37.15. > >>> > >>> If I write nwnxee depends as `nwnee-dedicated (>= 8193.37.15), > >>> nwnee-dedicated (<8193.37.16)`, then I get a deprecated warning for > >>> nwnee-dedicated for using < > > > > If you are just asking about the required syntax, I think what you are looking > > for is << (just < is not a valid syntax for this field). > > I guess the << works. Thanks! > > > https://www.debian.org/doc/debian-policy/ch-relationships.html > > > >>> What's the proper way to ensure that nwnxee version is always the same > >>> major.minor.patch nwnee-dedicated ? > >> > >> Are the produced from the same or different source tarballs? > > > > Different tarballs. For a project where upstream released as two interdependent tarballs, you might consider to distribute it in Debian as one source tarball with another one embedded. For an example of that approach, see the package dialect. The places relevant for embedding are: debian/copyright debian/gbp.conf debian/watch I have added some comments at the top of gbp.conf and watch files to aid in their use. Hope that helps, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private --==============x72552705075165215=MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; c arset="us-ascii" -----BEGIN PGP SIGNATURE----- wsG7BAABCgBvBYJowP6OCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcmeDFiY6SUYgoP0LtwqxMe42wDTvuoo96F7mCrYnWUmj pRYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAADWMA//XZl3lzLEEPCBTESOziOur1/b VHaaQg8TD0ONAbTGbBvbUQBjsk3ua/gtLbHlGg0+uAu9wYd2HB+/RtxrAYgXXfYX NdaxMHZgnv84I3HQca49TCDvv798IdUUvtl0NNFz26Ijbt4ByLsCqqBGR46tjO4H 3uANcXXPbs6+HUsZbA+aCPfu4CNMso4fIzO5WCEhf6eVN4effwaMRehhc7s3TIew rNpKNzItr0zUEBABLISX85pZPp2UC2UcIGusvQyMPzgN5X3PZxetp7LHIaRJuc6u grzPx7cubTs+0xCGOzSB3udgG0Natx6mRLc8zCtAT7IAF4dTEI3r9xbqSQFNcL7Q 33BQpfskynKt7b6H8xMYtLnSjfV9bPgXJ+ucLNs4w1BfNegZVQzF1cMkFMNkYv80 IrEFLSxB9qrh+wy/tDcnDN6j5L2zT/ByYF783GH/EJUlGKt2rpBImz4rraNV1Ztb JWZRWhPmKKFGA3PbzsRJ7P4v9Mhju99DJPblw2W7VKaMkdVYqQUSSkxNAC1L+aP8 gj0WtunLvX7cPqmqxDndJWsLQW+3bwYQE9ErZfGT01v5J+GuX6HSTKqBnDw77Td6 5SoVsmHu0rKMeGf9ZVmVd+mBfqDQNHuKbRNZ8x+zMKTYEaJnx18iwZ0YBy1FsC/K 2mjwFFsxwdoqSqpuS4E= =XtR8 -----END PGP SIGNATURE----- --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,121 visits
(c) 1994, bbs@darkrealms.ca