title: How to recursivly download RPM dependencies?
body: <p>I want to write a mini script that downloads all the recursive dependencies of an RPM package in Linux RedHat.</p>
  
  <p>When I use:</p>
  
  <pre><code>repoquery -a --requires --recursive --resolve PACKAGE_NAME
  </code></pre>
  
  <p>I'm not getting all the recursive dependencies, but when I use:</p>
  
  <pre><code>repoquery -a --tree-requires PACKAGE_NAME
  </code></pre>
  
  <p>I'm getting all the dependencies but I'm not getting a usable list that I can pipeline into <code>yumdownloader</code>.</p>
  
  <p>What should I do?</p>