Explicit rpm requires

Paul W. Frields stickster at gmail.com
Tue Mar 10 15:45:13 UTC 2009


On Tue, Mar 10, 2009 at 11:20:11AM -0400, 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've never had the pleasure of hearing or meeting anyone else on Fedora
> in person, but sounds like it would be a useful talk to check out.  

It really is... here's a link to Spot's presentation at last year's
Red Hat Summit in Boston:

http://spot.fedorapeople.org/Summit2008/GoodRPMPackages-TomCallaway-2008.pdf

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
-------------- 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/109d3c29/attachment.sig>


More information about the fedora-devel-list mailing list