[Pkg-samba-maint] libldb depends expression

Michael Tokarev mjt at tls.msk.ru
Sat Apr 2 08:14:31 BST 2022


02.04.2022 09:59, Mathieu Parent wrote:
..
> Yes, but to support binNMUs, you may need to use a range anyway
> (I've read the below doc without clear understanding).

No :)

Since whole samba package is being recompiled (be it NMU or not),
we end up with exactly the same versions of all binary packages
(with an amendment to ldb version complexity, but it too includes
complete samba binary package version with all suffixes), so we
sure can use the equality expression against version here.
This is what we use for a long time in make_shlibs WRT the
internal .so.0 libraries (the second step), - these are always
from the same _build_.  With NMU, everything gets recompiled,
and everything gets a new version suffix.

The thing is that we don't break binary packages built from
*other* sources, that's the whole difference. We may sure
use exact =version expression in dependencies between binary
packages built from single source. Think libfoo1 vs libfoo-dev
for example, they use =binary:Version for a reason.

...
> OK.

Mathieu, if you can spare some time, please take a look at
what's happening on the salsa samba master branch, maybe
look at `git log -p'. You're familiar with the package, and
I'm really interested in hearing some feedback from you.
I found some.. interesting things in there, like mishandling
of shlibdeps (that was really shocking for me to discover),
or moving various (python) bits between samba, samba-libs
and python3-samba (also quite shocking, I moved *all*
python stuff to python3-samba now).

Thank you!

/mjt



More information about the Pkg-samba-maint mailing list