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
- Host: GitHub
- URL: https://github.com/f18m/rpm-spec-dependency-analyzer
- Owner: f18m
- License: mit
- Created: 2018-02-05T10:31:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T18:13:05.000Z (about 8 years ago)
- Last Synced: 2025-12-02T00:34:30.833Z (7 months ago)
- Topics: dependencies, dependency-analysis, dependency-graph, dependency-manager, dependency-tree, graph-algorithms, graphviz, rpm, rpm-spec
- Language: Python
- Homepage:
- Size: 70.3 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rpm-spec-dependency-analyzer
[](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):

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