John Allen <[EMAIL PROTECTED]> wrote:
> How about
> %define buildfor_mdk90  %(cat /etc/mandrake-release | sed 's|.*release \([0-9\.]\+\) 
> .*|\1|g' | grep "^9.2")
>
> where /etc/mandrake/release contains
> Mandrake Linux release 9.2.1 (Cooker) for i586

cut -d' ' -f4 /etc/mandrake-release



# Han
-- 
http://www.xs4all.nl/~hanb/software
http://www.xs4all.nl/~hanb/documents/quotingguide.html

Reply via email to