On Fri, Dec 9, 2016 at 12:41 PM, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi Jonathon,
First of all, thank your for working on this. Comments inline: On Fri, 2016-12-02 at 14:06 -0600, Jonathon Nelson wrote: > > 0. globally replace /usr/sbin with %{_sbindir}, /usr/bin with %{_bindir}, > and /usr/share/man with %{_mandir}
Looks good. > 1. Remove the redundant use of 0%{?rhel} in tests for RHEL-specific values. > Turns: > %if 0%{?rhel} && 0%{rhel} > 6 > into: > %if 0%{rhel} > 6
If we remove that one, then Fedora builds should fail.
Ah! I think I meant to suggest this:
%if 0%{rhel} > 6
(note the addition of the question mark). That should be logically equivalent to %if 0%{?rhel} && 0%{rhel} > 6
This line creates alternatives for *all* binaries, but we don't do this. We only create alternatives entries for the binaries that can work across major releases -- but I liked the approach. Will apply with a few changes.
Thanks! I found that not having ready access to the latest versions of many of those binaries (without having to specify the full path) was a pain. Plus, isn't that why alternatives exists?
I will try to push these changes in next minor release set.