On Sat, Feb 23, 2019 at 7:42 PM Todd Zullinger <tmz@xxxxxxxxx> 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. _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx