On Mon, Apr 6, 2020 at 2:03 AM Petr Pisar <ppi...@redhat.com> wrote: > > The dist-bound conditional should be specified outside the spec file, > preferably on a distribution-level. E.g. RHEL decides that it does not > want to distribute a documentation, then it defines "%_without_docs 1" in > srpm > build root macros. > > This way the package becomes fully agnostic of the distribution it builds > in. > No hard-coded exceptions anymore. >
That may work fine for distro based decisions but 100% of the distro based conditionals I use are to work around package dependency versioning or availability, which that wouldn't solve. Thanks, Richard
_______________________________________________ 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