Explicit rpm requires

Matthew D Truch matt at truch.net
Tue Mar 10 14:39:20 UTC 2009


I used to use the following line in my kst-fits subpackage to explicitly
require the exact version of cfitsio that kst was built against (as
cfitsio does explicit version checking and will refuse to run
otherwise).

Requires:   cfitsio = %(rpm -q cfitsio --qf %{V})

This no longer works.  Is there different rpm .spec syntax I can use?  

-- 
"Ice Cream has no bones."
--------------------------
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://listman.redhat.com/archives/fedora-devel-list/attachments/20090310/35964375/attachment.sig>


More information about the fedora-devel-list mailing list