With this change, the pre-push check recognizes the "auto-generated-/" source file prefix, so that patch-git can use it to bypass the check. (The rpmbuild tool ignores directory names.)
Validated locally with a patched Fedora python3-rpkg package and a modified patch-git that generates the prefix.
The patch-git tool creates source files during spec file parsing:
With this change, the pre-push check recognizes the "auto-generated-/" source file prefix, so that patch-git can use it to bypass the check. (The rpmbuild tool ignores directory names.)
Validated locally with a patched Fedora python3-rpkg package and a modified patch-git that generates the prefix.
Signed-off-by: Florian Weimer fweimer@redhat.com