<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 9 avr. 2024 à 21:30, Miao Wang <<a href="mailto:shankerwangmiao@gmail.com">shankerwangmiao@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: libnginx-mod-http-js<br>
Version: 0.8.2-1+b1<br>
Severity: normal<br>
<br>
Dear Maintainer,<br>
<br>
libnginx-mod-http-js contains a dependency on libnginx-mod-stream, which should be only necessary for libnginx-mod-stream-js.</blockquote><div><br></div><div>Reassigned to nginx, because currently dh-nginx does this unconditionally:</div><div>$this->{has_stream} = $this->has_build_dep("libnginx-mod-stream");<br></div><div>../..</div><div>if ($this->{has_stream} == 1) {<br> addsubstvar($cur, "misc:Depends", "libnginx-mod-stream (>= $ngx_ver), libnginx-mod-stream (<< $ngx_ver.1~)");<br> }<br></div><div>../..</div><div><br></div><div>It should offer a better way.</div><div>Maybe shlibdeps picks that dependency ? so dh-nginx could add the constraint on mod-stream versions only when the built binary is actually linked to it ?</div></div></div>