Skip to content

Commit 9f7d1ff

Browse files
authored
README: Give examples of the different kinds of Provides
#14
1 parent 0c4472d commit 9f7d1ff

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,23 @@ from your Tox configuration.
2727
(As far as we know, this is required in order to have individual environments
2828
show up as separate runs on GitHub. Discuss this limitation in [issue 8].)
2929

30-
Optionally, you can install RPM packages from Fedora by setting the
31-
`dnf_install` to a space separated list of packages (or provides, groups etc.,
32-
the string will be literally used in `dnf install ...`):
30+
You can also install RPM packages from Fedora by setting `dnf_install` to
31+
a space-separated list of *provides*, such as:
32+
33+
* Fedora package names, e.g. `libgit2-devel`,
34+
* pkgconfig names, e.g. `pkgconfig(libffi)`,
35+
* commands, e.g. `/usr/bin/cowsay`, ...
3336

3437
```yaml
3538
- uses: fedora-python/tox-github-action
3639
with:
3740
tox_env: py38
38-
dnf_install: libffi-devel libyaml-devel
41+
dnf_install: pkgconfig(libffi) libgit2-devel
3942
```
4043

44+
The string will be literally used in `dnf install ...`, so you can also use
45+
groups or DNF options.
46+
4147
[issue 8]: https://github.com/fedora-python/tox-github-action/issues/8
4248

4349
## License

0 commit comments

Comments
 (0)