On Sat, Dec 18, 2004 at 12:47:32AM +0100, Michael Schwendt wrote:
That won't work. To add independent tags/fields to an RPM package
file
name, you must modify every available RPM filename parser so they
recognize this new scheme.
Programs shouldn't be parsing filenames. They should be using rpmlib
or rpm -q to extract the tags they need from the package.
Available RPM tools would parse %vendor in
your filename as belonging to %release. And "rpm -qp --qf
%{vendor}\\n package.rpm" would return the internal value set in the
"Vendor:" tag, not your vendor from the file name.
They would be the same in this case. The build system would set
Vendor: fe for Fedora Extras, for example, and the resulting build
would have .fe.i386.rpm at the end of the filename.