[devel] I: For Qt/KDE manteiners

Alexander Bokovoy =?iso-8859-1?q?a=2Ebokovoy_=CE=C1_sam-solutions=2Enet?=
Ср Окт 2 21:30:24 MSD 2002


On Wed, Oct 02, 2002 at 09:14:48PM +0400, Sergey V. Turchin wrote:
> Не нашел способа обойти несмену soname у Qt3-3.0.5,
> чем этот:
[..]

> %define gccver %(gcc -o %_builddir/gccver %_sourcedir/gccver.c >/dev/null 2>&1 ; %_builddir/gccver -v)
Вот такое будет получше, видимо:

%define gccver %(gcc -v 2>&1|tail -1|cut -d' ' -f 3)

Работает так:
$ rpm --eval "%define gccver %(gcc -v 2>&1|tail -1|cut -d' ' -f 3)
Requires: libqt3-c++compiled = %gccver"
 
Requires: libqt3-c++compiled = 2.96


-- 
/ Alexander Bokovoy
---
"Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs."
(By Dennis Ritchie)



Подробная информация о списке рассылки Devel