Re: Explicit rpm requires

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

 



Matthew D Truch wrote:

> 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).

-- Rex

-- 
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