On 21. 05. 25 20:08, Leon Fauster via devel wrote:
Hey all, while trying to build some centos-stream packages via git in COPR,
recently I get
error: %patchN is obsolete, use %patch N (or %patch -P N)
aborted builds. I can patch the specs files for all builds but (question) is
there a compat switch to be able to build unmodified packages/specs coming from
centos-stream git?
The target buildroots are centos/rhel, so the compat issue is a layer before
starting the build …
Unfortunately no. Copr always processes the spec files on a stable Fedora
version, which causes trouble for stuff that is too new (e.g. uses new RPM
rawhide-only features) or too old (e.g. uses old RPM EL-only features).
I created https://github.com/fedora-copr/copr/issues/1315 5 years ago
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue