Fedora Project launches Pre-Extras
Charles R. Anderson
cra at WPI.EDU
Fri Dec 17 23:29:21 UTC 2004
On Fri, Dec 17, 2004 at 11:52:33PM +0200, Doncho N. Gunchev wrote:
> I think that's all that can be done without touching rpm and that's
> why I like it. If rpm is to be modified it's another story... so much
You don't need to modify RPM to add fields to the filename:
~/.rpmmacros:
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
You can add whatever tags you want here. Now, whether there is a
suitable tag to use is another story. Vendor and Distribution tags
have traditionally not been in a suitable format for a filename. If
the vendor tag could be agreed to be restricted to short strings like
"rh", "fe", etc. then this might be workable:
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{VENDOR}.%%{ARCH}.rpm
More information about the test
mailing list