Bug 877581

Summary: wiki AutoProvidesAndRequiresFiltering appears to have incorrect information
Product: [Fedora] Fedora Documentation Reporter: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Component: packager-guideAssignee: Petr Kovar <pkovar>
Status: CLOSED WONTFIX QA Contact: Jaromir Hradilek <jhradile>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: devel   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-14 04:14:35 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Paulo Andrade 2012-11-16 19:32:43 EST

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_provides_in %{python_sitearch}/.*\.so$

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.
Comment 1 Paulo Andrade 2012-11-17 07:36:52 EST
*** Bug 877583 has been marked as a duplicate of this bug. ***
Comment 2 Paulo Andrade 2012-11-17 07:37:19 EST
*** Bug 877588 has been marked as a duplicate of this bug. ***
Comment 3 Petr Kovar 2017-12-14 04:14:35 EST
This guide is no longer being developed and has been deprecated in favor of https://github.com/redhat-developer/rpm-packaging-guide/.

Closing all issues here.