On 09/24/2012 11:26 AM, Roman Shaposhnik wrote:
On Fri, Sep 21, 2012 at 8:55 PM, Bruno Mahé <[email protected]> wrote:
There are already tool to extract dependencies out of spec files. I imagine
the same is probably true for debs.
What's the tool name?
My bad, I was actually referring to tools based on SRPMs, not SPEC files
directly.
Also, as a matter of fact for our purposes the tool
can be as simple as just grepping for them. In fact, when I did
$ git grep -E 'Build(Requires|-Depends):'
I didn't find anything that would be too difficult to handle via sed/awk.
Thanks,
Roman.
But what about the parsing of the various macros? They may or may not be
defined for specific distributions.
Thanks,
Bruno