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:21 PM Mountain Standard Time Soren Stoutner > > wrote: > >> On Tuesday, September 9, 2025 1:15:20 PM 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
Attachment:
signature.asc
Description: signature