diff --git a/README.md b/README.md index 4b83779..1bf14aa 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ For example `#!/usr/bin/python3 -Ru` will be updated to `#!/usr/bin/python3 -sRu Sometimes, this can interfere with tests that run such scripts directly by name, because in tests we usually rely on `PYTHONPATH` (and `-s` ignores that). Would this behavior be undesired for any reason, -undefine `%{py3_shbang_opt}` to turn it of. +undefine `%{py3_shbang_opt}` to turn it off. Extras are currently ignored. diff --git a/tests/mocktest.sh b/tests/mocktest.sh index 57caf42..7a0c52d 100755 --- a/tests/mocktest.sh +++ b/tests/mocktest.sh @@ -17,7 +17,7 @@ if [ ! -f $config ]; then original="/etc/mock/fedora-${fedora}-x86_64.cfg" cp $original $config - echo -e '\n\nconfig_opts["yum.conf"] += """' >> $config + echo -e '\n\nconfig_opts[f"{config_opts.package_manager}.conf"] += """' >> $config cat /etc/yum.repos.d/test-pyproject-rpm-macros.repo >> $config echo -e '\n"""\n' >> $config fi