Module for analyzing RPM spec dependencies.
Project description
# 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
` git clone https://github.com/f18m/rpm-spec-dependency-analyzer.git sudo ln $(pwd)/rpm-spec-dependency-analyzer/specfiles_dependency_graph.py /usr/local/bin/specfiles_dependency_graph sudo ln $(pwd)/rpm-spec-dependency-analyzer/pyrpm_spec.py /usr/local/bin `
## How to use
` specfiles_dependency_graph --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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rpm-spec-dependency-analyzer-0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f0252f217e4d4beef521ff52bd07a125b56fa4f46c7d16b03d77f18aea342a |
|
MD5 | 28c5d3623916d7d06a045313571987c3 |
|
BLAKE2b-256 | ce909a8afd3db9859ba37ae033becfca2b0aecacd5d920ada9ddc9cd6896facb |
Hashes for rpm_spec_dependency_analyzer-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f15abde12967b7348666273130896f1ebe8b45c01174a20efe9c2c0a1d20421 |
|
MD5 | 67007389856e384997d4aa2353692695 |
|
BLAKE2b-256 | 8f32b68dcd5a2a72966c33d9fa5b6e9bbb0c180a6e3fdfca22e3772ff17652fb |