i regularly create COPR projects, which link an upstream repo .spec in a pagure project.
i want to build @ COPR _after_ modifying the .spec.
there are 2 ways I see doing that.
(1) manually modifying/patching the spec itself
(2) having the buildsys auto-apply a patch to the spec, prior to the build
(1) is trivial, _if_ I edit a _fork_; that interferes with workflow, breaking upstream
source updates' triggers for autobuilds at COPR
(2) is doable at opensuse's OBS, specifying the patch to be applied to the link-ed
project sources
e.g.,
https://build.opensuse.org/package/view_file/home:pgnd:devel:gcc10/gcc10/...
what (other) mechanism exists for applying patches to a COPR spec, prior to build?
is there an OBS-style functional equivalent?