Adding custom tags to RPMs
Jarod Wilson
jarod at wilsonet.com
Fri Nov 14 11:58:35 EST 2008
On Fri, 2008-11-14 at 11:07 -0500, Dan Jenkins wrote:
> Does anyone know if it is possible to add user-created custom tags to
> RPMs when creating them?
> Thanks.
Like repotags? i.e., build a custom kernel, and install of calling it
kernel-2.6.18-123.el5, calling it kernel-2.6.18-123.el5.local?
Anything after the 123 in the example above is derived from the %dist
tag in RH/Fedora packages, assuming its present in the spec. So most
recent packages can be rebuild like so:
rpmbuild --rebuild --define 'dist .el5.local' foo.src.rpm.
Of course, if that's not the type of tag you're referring to, please
expand your explanation of what you're after... :)
--
Jarod Wilson
jarod at wilsonet.com
More information about the gnhlug-discuss
mailing list