#757 Accept auto-generated sources in pre-push checks
Merged by lsedlar. Opened by fweimer.
fweimer/rpkg auto-generated  into  master

Download 757.patch

The patch-git tool creates source files during spec file parsing:

  • https://gitlab.com/redhat/centos-stream/rpms/glibc/-/blob/c10s/patch-git.lua

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

The jenkins failure looks unrelated to this change. Otherwise this looks reasonable to me.

Pull-Request has been merged by lsedlar

Metadata