https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering If using the suggested method to prevent python modules if will stop due to something missing in %filter_setup: $ rpm -E "'%filter_setup'" ' ' and suggested method is: %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ %filter_setup } I noticed several packages use a pattern like: %global __provides_exclude_from ^%{python_sitearch}/.*\\.so$ that appears to work. I see this in rawhide and f17: $ rpm --showrc | grep __provides_exclude_from %global __provides_exclude_from %{perl_vendorarch}/auto/.*\\.so$|%{perl_archlib}/.*\\.so$|%{_docdir} maybe python modules should be added to the default value.
sorry for duplicates, it was taking almost 5 min to open a bug report and would end with an error message. *** This bug has been marked as a duplicate of bug 877581 ***