Fedora 13 Release Notes

Paul W. Frields stickster at gmail.com
Thu Mar 25 15:42:57 UTC 2010


On Thu, Mar 25, 2010 at 10:46:02AM -0400, John J. McDonough wrote:
> On Wed, 2010-03-24 at 20:32 -0400, Paul W. Frields wrote:
> > On Wed, Mar 24, 2010 at 11:08:28AM -0400, John J. McDonough wrote:
> 
> > The answer is that "Requires: htmlview" is a *package* level
> > dependency, while "Requires: /usr/bin/htmlview" is a *file* level
> > dependency.  Cool that RPM supports this, I don't think it's possible
> > in some other software management systems.
> > 
> > So that means that the first case only works as long as the package
> > name stays the same.  The second case works no matter if the binary
> > moves to a differently-named package (which happens F12 -> F13).
> 
> Thanks Paul
> 
> I sort of suspected that, but I hadn't realized RPM was so smart!  I was
> also a little spooked by xdg-utils because xdg-open, which Publican uses
> when generating the .desktop file, doesn't work quite the same as
> htmlview and can lead to some undesirable results.

John,

I hadn't looked too closely at the underneath part of the RPM beyond
the content working and opening.  Does anything in the RPM actually
*use* /usr/bin/htmlview to run anymore?  If not, we probably should
just switch the requirement to xdg-utils.

-- 
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/
          Where open source multiplies: http://opensource.com


More information about the docs mailing list