Bug 523282
Summary: | "R " prefix in filerequires | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mamoru TASAKA <mtasaka> | ||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | ffesti, jnovy, manuel.wolfshant, pmatilai, tmz, ville.skytta | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.7.1-3.fc11 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-21 13:36:26 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: | |||||||
Attachments: |
|
Huh? This is due to some changes in rpm. --filerequire shows it as well: $ rpm -qp --filerequire shebang-test-0-1.fc11.noarch.rpm /usr/share/doc/shebang-test-0 /usr/share/doc/shebang-test-0/sample.sh R /bin/sh I see the "R" there with both F-10's rpm-4.6.1-1.fc10.i386 and F-11's rpm-4.7.1-1.fc11.x86_64. With CentOS 5's rpm-4.4.2.3-9.el5 it's not there: $ rpm -qp --filerequire shebang-test-0-1.fc11.noarch.rpm /usr/share/doc/shebang-test-0 /usr/share/doc/shebang-test-0/sample.sh /bin/sh In the python bindings, everything from hdr[rpm.RPMTAG_FILEREQUIRE] seems to come out as "R $something" strings. This seems to be a query time thing with newer rpm versions, not something hardwired into the headers at build time (it is shown with F-11's rpm also for EL-5 packages). I don't have anything between EL-5's and F-10's rpm to test with. Panu, Jindrich, thoughts? Maybe related to http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=3d8656f040d2c780c88d0cd63594898f0605a6fa ? Yup, unintended (and until now, unnoticed :) change of behavior in that commit, fixed now: http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=d846e6b0f829791e6ffce4fd496c9378bff19c43 Thanks, Panu. I'm not yet sure if I'll bother trying to work around this in rpmlint, but probably not. Reassiging to rpm and adjusting summary to track fixed package release status. Fixed in rpm-4.7.1-6.fc12 rpm-4.7.1-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/rpm-4.7.1-3.fc11 rpm-4.7.1-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 360980 [details] sample spec file Description of problem: With the attached sample spec file, rpmlint warns: [tasaka1@localhost SPECS]$ rpmlint ../RPMS/noarch/shebang-test-0-1.fc12.noarch.rpm shebang-test.noarch: W: spurious-executable-perm /usr/share/doc/shebang-test-0/sample.sh shebang-test.noarch: W: doc-file-dependency /usr/share/doc/shebang-test-0/sample.sh R However there is no dependency against R. Version-Release number of selected component (if applicable): rpmlint-0.91-1.fc12.noarch How reproducible: 100% Steps to Reproduce: 1. rpmbuild -bb shebang-test.spec (where shebang-test.spec is the attached one) 2. try rpmlint on the rebuilt binary rpm 3. Actual results: See above Expected results: No R dependency shown