[Fedora-packaging] AutoProvidesAndRequiresFiltering doesn't work

Kalev Lember kalev at smartlink.ee
Tue Nov 30 12:27:32 UTC 2010

On 11/30/2010 02:14 PM, Thomas Spura wrote:
> Hi list,
> I'm using AutoProvidesAndRequiresFiltering [1] to filter out *.so libs
> in %{python_sitearch}. Unfortunately, rpm can't detect the correct
> requires anymore with that macro, so I didn't use this anymore, and let
> the 'wrong' provides and requires propagate for now untill a new
> solution is found.

RPM is filtering out the requires because you are telling it [1] to do so:

6 %{?filter_setup:
7 %filter_provides_in %{python_sitearch}/.*\.so*
8 %filter_requires_in %{python_sitearch}/.*\.so*
9 %filter_setup
10 }

Just remove the %filter_requires_in line and you should get what you
were expecting.



More information about the packaging mailing list