[Fedora-packaging] private-shared-object-provides in python packages

Ville Skyttä ville.skytta at iki.fi
Wed Sep 29 06:25:43 UTC 2010


On Tuesday 28 September 2010, Toshio Kuratomi wrote:

> The way to filter this out is probably something like this:
> # we don't want to provide private python extension libs
> %filter_provides_in %{python_sitearch}/.*\.so$
> # actually set up the filtering
> %filter_setup

I still think that related recipes in Wiki should be constructed so that 
specfiles containing this stuff continues to work also on distro versions that 
don't have those macros.  For example the above could be written as:

%{?filter_setup:
%filter_provides_in %{python_sitearch}/.*\.so$
%filter_setup}


More information about the packaging mailing list