Bug 877583 - wiki AutoProvidesAndRequiresFiltering appears to have incorrect information
wiki AutoProvidesAndRequiresFiltering appears to have incorrect information
Status: CLOSED DUPLICATE of bug 877581
Product: Fedora Documentation
Classification: Fedora
Component: packager-guide (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Petr Kovar
Jaromir Hradilek
Depends On:
  Show dependency treegraph
Reported: 2012-11-16 19:34 EST by Paulo Andrade
Modified: 2012-11-17 07:36 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-11-17 07:36:52 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paulo Andrade 2012-11-16 19:34:34 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
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 ***

Note You need to log in before you can comment on or make changes to this bug.