If you wish to move to "human readable" names, then the specific 
functionalities tied to arch in rpmrc need to be separately configured.

There's only a few critical values that rpmrc provides a default for
* (per-arch) optflags (like in this issue)
* (global) macrofiles search patterns

and the rest of rpmrc is largely arch/os compatibility related to scoring, with 
some deeply obscure platform name/alias mappings buried in lib/rpmrc.c.

>From experience in eliminating rpmrc configuration:

I suspect that distro macro dialect deviations have progressed everywhere to 
the point that it is impossible to build without installing that distro's macro 
configuration which typically overrides %optflags (and usually provides C++ and 
other compiler flags).

The arch scoring is/was the hardest to implement satisfactorily.

And of course every distro I am aware of chose to repatch rpm to re-add the 
good old rpmrc "stuff". Old code never dies, oh well, I tried.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/425#issuecomment-379054402
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to