Bug 487974 - RFE: error on shlib provides from under %perl_*arch
Summary: RFE: error on shlib provides from under %perl_*arch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-01 22:03 UTC by Chris Weyl
Modified: 2010-06-04 18:46 UTC (History)
3 users (show)

Fixed In Version: rpmlint-0.97-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-21 21:59:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Weyl 2009-03-01 22:03:20 UTC
Perl extensions often have private shared libraries under architecture-specific paths.  These extensions are private and not legitimate to depend on, and as such should not be allowed in the provides list of a package.

rpmlint should error on provides generated by shared libraries under:

%perl_archlib
%perl_sitearch
%perl_vendorarch

Comment 1 Ville Skyttä 2010-04-16 20:00:11 UTC
Done upstream (also for similar python, ruby and php paths):

$ rpmlint -i perl-List-MoreUtils
[...]
perl-List-MoreUtils.x86_64: W: private-shared-object-provides /usr/lib64/perl5/auto/List/MoreUtils/MoreUtils.so MoreUtils.so()(64bit)
A shared object soname provides is provided by a file in a path from which
other packages should not directly load shared objects from.  Such shared
objects should thus not be depended on and they should not result in provides
in the containing package.  Get rid of the provides if appropriate, for
example by filtering it out during build.  Note that in some cases this may
require disabling rpmbuild's internal dependency generator.

Comment 2 Fedora Update System 2010-05-18 20:20:42 UTC
rpmlint-0.97-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/rpmlint-0.97-1.fc13

Comment 3 Fedora Update System 2010-05-18 20:22:00 UTC
rpmlint-0.97-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/rpmlint-0.97-1.fc12

Comment 4 Fedora Update System 2010-05-28 18:03:34 UTC
rpmlint-0.97-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2010-06-04 18:46:37 UTC
rpmlint-0.97-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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