Subject: | |
From: | |
Reply To: | |
Date: | Fri, 28 Mar 2008 17:40:28 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
Hi,
On Fri, 28 Mar 2008, Faye Gibbins wrote:
> Hi,
>
> Having built lots of rpms I've never used the "Requires: foo < <some
> release>", RedHat RPM Guide, page 211.
>
> Today I added this:
>
> Requires: qt < 4.0.0
>
> to an rpm for QScintilla I was building and it doesn't work.
>
> NB:
>
> snip---
> root@geosl548 qsintilla $ rpm -q qt
> qt-3.3.6-23.el5
> root@geosl548 qsintilla $
> snip---
>
> Has anyone else used this option on SL5? Does it work for you?
I tried using the "<" operator in a trigger a while ago. No, it didn't
work.
Anyway, requirements like this one have become ambiguous at least on
64bit systems, and it's probably better to require what you actuallly
need, like libqt-mt.so.3 (on i386) or libqt-mt.so.3()(64bit) (on x86_64),
instead of a package version which may provide you with either of those.
And no, requiring pkg.i386 < <some release> won't work either...
RPM should generate these requirements automagically though, unless you
turned off AutoReq in the spec?
Cheers,
Stephan
--
Stephan Wiesand
DESY - DV -
Platanenallee 6
15738 Zeuthen, Germany
|
|
|