/rpm-spec-dependency-analyzer

A simple Python3 script to generate a DOT graph of the inter-dependencies among a set of SPEC files

Primary LanguagePythonMIT LicenseMIT

rpm-spec-dependency-analyzer

PyPI version

This is a simple Python3 script that parses a list of SPEC files and generates a nice graph of the dependencies among them using DOT.

How to install

pip3 install rpm-spec-dependency-analyzer

How to use

rpm_spec_dependency_analyzer --output reqgraph.dot /my/spec/folder/*.spec
dot -Tpng reqgraph.dot -o reqgraph.png

Example output

This is the example of the graph generated by pkgA.spec and by pkgB.spec:

Example graph

Original .dot source is available here