Red Hat Bugzilla – Bug 122519
[PATCH] /usr/lib/libgcrypt.so.* is not owned by package
Last modified: 2007-11-30 17:10:42 EST
$ rpm -qf /usr/lib/libgcrypt.so.11
file /usr/lib/libgcrypt.so.11 is not owned by any package
$ rpm -q libgcrypt
Also true for libgcrypt-1.2.0-1 in rawhide. Trivial patch attached.
Created attachment 99989 [details]
patch for spec file
The link is created and managed by ldconfig. I'm inclined to let
ldconfig continue to handle it, so marking wontfix.
teher could be a case made for having those files as %ghost...
* Nalin, I do respect your decision, but it is a bad one, since not
including the link creates an inconsistency between what
$ rpm -q --provides libgcrypt
reports and what is included in the package actually. In particular,
this makes it difficult to check for damaged packages with "rpm -V"
(as what applications link against is not included in the package!)
* %ghost'ing the link would work, too, but would require more effort
at the spec file level.
* Btw, "rpm -qf /usr/lib/*.so.?" reveals that indeed the majority of
packages include these links.