On Sat, Jan 20, 2018 at 5:27 AM, Igor Gnatenko < ignatenkobr...@fedoraproject.org> wrote:
> > * File-triggers are not supported by el6/el7 RPM, so every package which > has > icons should have some number of scriptlets conditionalized by %if > 0%{?rhel} > && 0%{?rhel} <= 7. > Could this be easily fixed by adding macros to EL that would only run when appropriate? Staying with your earlier example: %post %{?epel_update_gtk_icon_cache} > * Rich dependencies are not supported by el6/el7 RPM and YUM, so anyone who > wants to use them need to have same conditionals. > This can get messy when there are a lot of them, most in my experience with at least end user apps, you rarely need them so the occasional: %if 0%{?fedora} Recommends: ... %else Requires: ... %endif does not hurt readability much. WIth large libraries that are already complicated that's more difficult, but in that case major updates are discouraged within a release and all but banned in EL so there's not much need or advantage to keeping the specs in sync. Thanks Richard
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org