Broken upgrade paths discussion

Jarod Wilson jwilson at redhat.com
Thu Jun 29 03:52:01 UTC 2006


Jesse Keating wrote:
> On Wednesday 28 June 2006 18:28, Dennis Gilmore wrote:
>> If you build a package with a disttag outside of the buildsys or mock you
>> will have an empty tag  it will not be there.
> 
> *cough*
> 
> rpmbuild --rebuild --define="dist .fc6" foo.src.rpm

Or if you find yourself running into this often (and caring), throw this 
in ~/.rpmmacros:

%dist .fc6

Craftier ways are available to dynamically determine fc vs. el, 4 vs. 5 
vs. 6, etc., but they can get messy in a hurry.

-- 
Jarod Wilson
jwilson at redhat.com




More information about the fedora-extras-list mailing list