Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Sean Whitton writes ("Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch"):
> On Fri 17 Aug 2018 at 03:44PM +0100, Ian Jackson wrote:
> > This is a bug, surely. It should be in ${sphix:Depends} or something.
> > Then you could put it in Recommends:.
>
> It would be ${linktree:Depends}, to be clear. I'm not sure the
> debhelper maintainers want to add dh_ tool-specific substvars, though.
Oh, I see. dh_linktree should take an argument saying what dependency
strictness should be used, or maybe there should be a general dh
option for substvar names.
However, in the absence of that, you could do this:
mv debian/substvars debian/substvars.save
dh_linktree ....
cat debian/substvars.save >debian/substvars.new
sed -p 's/^misc:/linktree:/' debian/substvars >>debian/substvars.new
mv debian/substvars.new debian/substvars
or something. Giving you ${linktree:Depends} to put in Recommends.
Ian.
--
Ian Jackson <ijackson@chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
Reply to: