[csw-devel] proposed patch: replace OBSOLETES_ with OBSOLETEDBY_

Philip Brown phil at opencsw.org
Fri Mar 25 22:34:33 CET 2011


I've been discussing the "OBSOLETES_" gar usage with Ben. I pointed
out that the grammar is opposite to what actually happens.
He suggested I submit a patch.
So here it is.
I've actually split it into two, for perhaps easier viewing.
First file is the back end. Second file is the software directories.


Basically, replaces "OBSOLETES_xxx"  with "OBSOLETEDBY_xxx". This
makes things more english parsable.

In English, if
 "Package CSWfoo is the new version, that obsoletes CSWbar", then you want to
 "make a stub package CSWbar, that is obsoleted by CSWfoo".

That is more easily understood, when the gar recipies read similar to

OBSOLETEDBY_CSWfoo = CSWbar

rather than what is currently there, which is backwards to english usage.


http://buildfarm.opencsw.org/experimental/phil/obsoletes.gar.diff
http://buildfarm.opencsw.org/experimental/phil/obsoletes.pkg.diff


More information about the devel mailing list