Skip to main content

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

This version

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rpm-spec-dependency-analyzer, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size rpm_spec_dependency_analyzer-0.5-py3-none-any.whl (9.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rpm-spec-dependency-analyzer-0.5.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page