Ainsi parlait Vincent Danen :
> > BTW, I actually need a solution for this too. At present, all samba
> > builds from the source release get identical %{version}-%{release} which
> > is probably a bad thing ...
>
> %define version 3.0
> %define release 1
> %define distro 92
>
> Version: %version
> Release: %release.%distromdk
>
> so you end up with 3.0-1.92mdk
>
> umm.. untested.  =)  But you get the idea.
Hardcoding the distribution target in your spec files prevent you from 
rebuilding it for different distributions. I prefer Bucan's idea in this 
regard.

Anyway, i don't think messing with tags having already a well-defined 
semantics (such as release number or epoch) to workaround something not 
supported by rpm itself is really a good idea. There is far too much risk to 
break something for few added value IMHO.
-- 
There is nothing more satisfying that having someone take a shot at you, and 
miss
                -- Murphy's Military Laws n�97


Reply via email to