Bug 877583 - wiki AutoProvidesAndRequiresFiltering appears to have incorrect information
Summary: wiki AutoProvidesAndRequiresFiltering appears to have incorrect information
Keywords:
Status: CLOSED DUPLICATE of bug 877581
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: packager-guide
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Kovar
QA Contact: Jaromir Hradilek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-17 00:34 UTC by Paulo Andrade
Modified: 2012-11-17 12:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-17 12:36:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Paulo Andrade 2012-11-17 00:34:34 UTC
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.

Comment 1 Paulo Andrade 2012-11-17 12:36:52 UTC
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.