On Thu 24 Nov 2011 20:56:55 NZDT +1300, Ludwig Nussel wrote:
What are you trying to achieve exactly? Which project/package?
Package avr-gcc in various versions. In my home project and in Crosstoolchain, or search, there are only very few. This particular problem is about needing the first two numbers of a x.y.z version number (i.e. x.y), because they need different configure options. As rpm macro processing is rather limited, the shell's ${ver:1:3} will do just fine. Obviously one could alternatively use yet more macros. Volker -- Volker Kuhlmann http://volker.dnsalias.net/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org