title: How can I make a Debian package depend on another package with exactly the same version
body: <p>I'm building a Debian package which gathers together a number of other closely tied packages by declaring them as dependencies.  I want those dependencies to be exactly the same version as the package.  Is there a way within the Debian build system to avoid hard coding this within the control file (aside from pre-processing the control file myself)?</p>
  
  <p>Something like:</p>
  
  <pre><code>Depends: libfoo = ${version}, libbar = ${version}
  </code></pre>