Re: Explicit rpm requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
http://matt.truch.net/

Attachment: pgp5uz9LIiXje.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux