Bug 707596
Summary: | Rpmlint shows error when there's comment after %postun | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kaluža <jkaluza> |
Component: | rpmlint | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | a.badger, manuel.wolfshant, rebus, tcallawa, tmz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-25 17:20:23 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
Jan Kaluža
2011-05-25 13:27:27 UTC
There are two bugs in your package: > libircclient-qt.x86_64: E: postun-without-ldconfig > /usr/lib64/libircclient-qt.so.0.5.0 Without seeing the complete specfile, I guess you have a libircclient-qt subpackage with shared libs in it. You need to add a %postun script for that subpackage; the fragment you posted does it only for the main package. > libircclient-qt.x86_64: E: non-empty-%postun /sbin/ldconfig run "rpm -qp --scripts" on the binary package to show the scriptlet contents. rpm ends up passing your "# --------..." to /sbin/ldconfig as a script which was a common source of breakage some time ago when ldconfig didn't tolerate that. The fix is to remove the comment. I like these visual separators as well and run into same issue. Workaround is to move that comment to the next section (where it really belongs) So instead of: # ========== files ================= %files To have for example: %files # ========== files ================= |