Caution! Bad SONAME Provides

Michael Schwendt bugs.michael at gmx.net
Fri Jun 22 17:04:22 UTC 2007


On Fri, 22 Jun 2007 11:09:39 -0400, Adam Jackson wrote:

> > Reviewers ought to examine "Provides" carefully and require packagers to
> > filter the Provides if necessary.
> 
> How should I filter these, short of AutoReqProv: 0 ?

No, that would disable too much.


One recipe:

http://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies?highlight=%28find_provides%29#head-4c30232b398f85bec95f72bc6bb66b5bbf524be3

http://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies


Another recipe uses a patch against /usr/lib/rpm/redhat/find-provides
(the packager needs to create the patch and run "sed" in the right
place to drop sonames):

%define _use_internal_dependency_generator 0
cp -a /usr/lib/rpm/redhat/find-provides %{_tmppath}/find-provides.%{name}
patch %{_tmppath}/find-provides.%{name} %{PATCH0}
%define __find_provides %{_tmppath}/find-provides.%{name}




More information about the Fedora-maintainers mailing list