Use dpkg-shlibdeps
to generate dependency list for Debian package
#12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHY are these changes introduced?
The old way of doing it would mistakingly add
libc6-dev
as a dependency to sparoid under Ubuntu Noble (24.04) and Debian Bookworm (12).This is the 'same' change as in cloudamqp/websocket-tcp-relay#21
WHAT is this pull request doing?
Using
dpkg-shlibdeps
to generate dependency list for the Debian package.HOW can this pull request be tested?
Built Ubuntu 18.04/24.04 and Debian 10/12 locally and inspected the generated
Depends:
line (added afterbuild/deb
step:RUN dpkg -I $(find . -name *.deb)
).Also manually installed the 24.04 package on a 24.04 machine, and 22.04 respectively seems to work fine.