> > 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}) > > You've apparently never heard spot's "rpm" talk, which includes something > like: > thou shalt not envoke rpm from within a specfile > > I was about to suggest you could use the output of: > pkg-config --modversion cfitsio > but that seems to be broken in cfitsio.pc (returns 3.006 on my F-10 box). Well, I've fixed the pkgconfig file so the version is correct, however that won't solve this problem. It seems that koji is having rpm expand this tiny shell script before it is populating the chroot with all the build-requires, and therefore cfitsio isn't installed. How do I find out the version number of a something I build-require during the build? -- "If you have only seen it once, then you haven't seen it twice." -------------------------- Matthew Truch Department of Physics and Astronomy University of Pennsylvania matt@xxxxxxxxx http://matt.truch.net/
Attachment:
pgpov8DMoMMhM.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list