From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 2 Oct 2002 20:30:24 +0300 From: Alexander Bokovoy To: devel@altlinux.ru Subject: Re: [devel] I: For Qt/KDE manteiners Message-ID: <20021002173024.GG23592@sam-solutions.net> Mail-Followup-To: devel@altlinux.ru References: <200210022114.53766.zerg@altlinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200210022114.53766.zerg@altlinux.com> Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0.13 Precedence: bulk Reply-To: devel@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: 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)