Re: Fedora Project launches Pre-Extras

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]