Skip to content

Commit

Permalink
Update README a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bkircher committed Feb 17, 2024
1 parent edd5da9 commit f3461c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![pytest status](https://github.com/bkircher/python-rpm-spec/actions/workflows/test.yml/badge.svg)](https://github.com/bkircher/python-rpm-spec/actions/workflows/test.yml)
[![PyPI version](https://badge.fury.io/py/python-rpm-spec.svg)](https://badge.fury.io/py/python-rpm-spec)

python-rpm-spec is a Python library for parsing RPM spec files.
python-rpm-spec is a Python-only library for parsing RPM spec files.

*tl;dr* If you want to quickly parse a spec file on the command line you might want to give `rpmspec --parse` a try.

Expand Down Expand Up @@ -45,6 +45,8 @@ in your virtual environment.

## Examples

The libraries main API objects are the `Spec` object, representing an entire spec file and the `replace_macros` function which is used to expand macro's into the final string values.

This is how you access a spec file's various definitions:

```python
Expand Down

0 comments on commit f3461c8

Please sign in to comment.