Skip to content

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

License

Notifications You must be signed in to change notification settings

f18m/rpm-spec-dependency-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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