Explicit rpm requires
Matthew D Truch
matt at truch.net
Tue Mar 10 22:06:50 UTC 2009
On Tue, Mar 10, 2009 at 03:53:24PM -0500, Rex Dieter wrote:
> OK, try something like this instead:
>
> Requires: cfitsio = %(pkg-config --modversion cfitsio 2>/dev/null || echo 0)
That seems to work.
To satisfy my curiosity (and understanding), why does that work, when
(at least when I run pkg-config locally) nothing gets spit out on
stderr?
--
"Things should be made as simple as possible, but not any simpler. -- Einstein."
--------------------------
Matthew Truch
Department of Physics and Astronomy
University of Pennsylvania
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090310/ba77602a/attachment.bin
More information about the devel
mailing list