Skip to content

Commit

Permalink
WIP: ensure tox -e rpm produces rpms
Browse files Browse the repository at this point in the history
Related: #315
  • Loading branch information
ssbarnea committed Aug 16, 2023
1 parent 46c30f7 commit 0d438e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ deps =
setuptools-scm
commands_pre =
sh -c "test -f /etc/redhat-release || { echo 'FATAL: This can be run only on rpm based operating systems at this moment.' >&2; exit 1;}"
sh -c "test -f /etc/redhat-release && sudo dnf install -y libcurl-devel krb5-devel packit python3-setuptools_scm+toml"
sh -c "test -f /etc/redhat-release && sudo dnf install -y libcurl-devel krb5-devel packit python3-setuptools_scm+toml python3-subprocess-tee python3-jsonschema"
commands =
packit build in-mock
packit build locally
# in-mock
allowlist_externals =
packit
sh
Expand Down

0 comments on commit 0d438e5

Please sign in to comment.