On Sat, Feb 23, 2019 at 7:42 PM Todd Zullinger <tmz(a)pobox.com> wrote:
Patch5: number5.patch
%if 0%{?fedora} > 29
Patch6: fedora-30-and-above.patch
%endif
*Never* do this. If you do this, your different SRPM's have different
content, and any attempt to port the content to a release not included
by the "%if" will not have the patch referred to. It's like generating
.gitignore files dynamically, it's a horrible practice though it's
technically feasible.