An open API service indexing awesome lists of open source software.

https://github.com/f18m/rpm-spec-dependency-analyzer

A simple Python3 script to generate a DOT graph of the inter-dependencies among a set of SPEC files
https://github.com/f18m/rpm-spec-dependency-analyzer

dependencies dependency-analysis dependency-graph dependency-manager dependency-tree graph-algorithms graphviz rpm rpm-spec

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# rpm-spec-dependency-analyzer

[![PyPI version](https://badge.fury.io/py/rpm-spec-dependency-analyzer.svg)](https://badge.fury.io/py/rpm-spec-dependency-analyzer)

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](examples/pkgA.spec) and by [pkgB.spec](examples/pkgB.spec):

![Example graph](examples/example-graph.png "Example DOT output")

Original .dot source is available [here](examples/example-graph.dot)