Bug 237204

Summary: rpmlint RFE: warn on usage of %{_libdir} in %files section of noarch packages
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: rpmlintAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.83-1.fc9 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-26 08:29:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Weyl 2007-04-19 23:25:29 UTC
A noarch package could use %{_libdir} in %files.  Given %{_libdir} will evaluate
differently depending on the architecture of the builder, yet the resulting
noarch rpm can be installed anywhere, unexpected results may occur.

It would be nice if rpmlint would note this, and complain loudly.

Comment 1 Jeff Johnson 2007-04-19 23:34:35 UTC
One way to control for reproducible builds is to setup a noarch-linux/macros file.

That has nothing to do with rpmlint of course.

Comment 2 Chris Weyl 2008-03-18 02:58:23 UTC
Ping? :)

Comment 3 Ville Skyttä 2008-03-18 19:45:05 UTC
Thanks for the heads up, this had fallen through the cracks, sorry.

I'll look into it (probably later this week or the next one), but as always,
patches welcome.

Comment 4 Ville Skyttä 2008-03-24 20:47:47 UTC
Implemented upstream, will be in the next release:
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1410

noarch packages' scriptlets should be checked for these dirs too, BTW (TODO
added in rpmlint source).

Comment 5 Jon Stanley 2008-04-23 20:29:11 UTC
Adding FutureFeature keyword to RFE's.

Comment 6 Fedora Update System 2008-06-09 18:33:07 UTC
rpmlint-0.83-1.fc9 has been submitted as an update for Fedora 9

Comment 7 Fedora Update System 2008-06-09 18:35:00 UTC
rpmlint-0.83-1.fc8 has been submitted as an update for Fedora 8

Comment 8 Fedora Update System 2008-06-11 04:34:18 UTC
rpmlint-0.83-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rpmlint'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-5185

Comment 9 Fedora Update System 2008-06-26 08:29:38 UTC
rpmlint-0.83-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2008-06-26 08:30:39 UTC
rpmlint-0.83-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.