Bug 56040
| Summary: | rpm 4.0.3 with --nodirtokens creates empty package | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <juan> |
| Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | CC: | astrand |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-11-11 16:28: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
Need Real Name
2001-11-11 16:28:18 UTC
FWIW, rpm-4.0.2 has been released for Red Hat 6x, so that is the "supported" version of rpm at this time. --nodirtokens appears to work for me in rpm-4.0.3, verified by examining a binary rpm with hexedit, as I have no machines with pre-rpm-3.0.4 installed. Perhaps you need an explicit %define _noPayloadPrefix 1 to remove the leading "./" prefix in payload files. rpm itself is prepared this way. Did you try "rpm2cpio package.rpm | cpio --list" ? After building with --nodirtokens, all I get is a "1 block" listed, rather than the list of names. I do have _noPayloadPrefix defined as you suggested. If you wish I can send you the script that builds the empty RPM for me. I just didn't include it right away because It's happened to me to *every* RPM I build with --nodirtokens... I just tested this on Fedora Core 4 using rpm 4.4.1, and it's still broken. This bug was closed prematurely. Continued on bug 462391. |