dist tag

Sebastian Vahl ml at deadbabylon.de
Mon Mar 26 01:22:31 UTC 2007


Am Mon, 26 Mar 2007 03:15:31 +0200
schrieb Christoph Wickert <christoph.wickert at nurfuerspam.de>:

> Am Montag, den 26.03.2007, 02:27 +0200 schrieb Sebastian Vahl:
> > Am Mon, 26 Mar 2007 02:26:07 +0200
> > schrieb Jens Wefer <jens.wefer at ewetel.net>:
> > 
> > > hey all,
> > > kann mir jmd sagen wie7wann der dist tag befüllt wird?
> > > im spec file hab ich stehen "Release: 0%{?dist}",
> > > funktioniert aber nicht, dist ist leer.
> > > bye, jens.
> > 
> > Der Dist-Tag muss in ~/.rpmmacros definiert sein, z.B.
> > %dist .fc6
> 
> Ich nutze:
>         %distname fc
>         %distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)
>         %dist    .%{distname}%{distversion}
>         
> Hat den Vorteil, daß die Version immer aktuell und passend ist.

Nett. Genau sowas passt zu meiner Zusammenlegung der Homeverzeichnisse
von fc6 und rawhide. :)

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-de-list/attachments/20070326/9ee64486/attachment.sig>


More information about the Fedora-de-list mailing list