Bug 50197
Summary: | rpm --recompile creates binary rpm(s) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED DEFERRED | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-12-21 00:26:32 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: |
|
Description
Michael Schwendt
2001-07-27 23:42:48 UTC
I have no clue what you are talking about. The option --recompile creates *only* binary rpm's, but does *not* create another src.rpm. That's the way it's always worked. That's the way I've used it for a long time. *But* the docs don't say that: See "man rpm", section REBUILD AND RECOMPILE OPTIONS: [...] In addition, --rebuild builds a new binary package. [...] Should either read "... a new source package..." or should be dropped, because --recompile builds a new binary package, too. Hence "no addition". And from rpm --help: --recompile <src_pkg> - like --rebuild, but don't build any package Wrong. It does build a package. Just not a source package. (Previous bug comment explains why this issue has come up.) Hmmm, there appears only to be a doco problem here, not a functional problem. Since the build modes are now in a separate executable, and the man page will be reworked in rpm-4.1, I'm gonna mark this problem deferred. Yes, it is a docu problem and most likely *the* reason why people everywhere use (and suggest) rpm --rebuild, although they want just binary rpms and could use rpm --recompile. Here're two users who can reproduce this bug: https://listman.redhat.com/pipermail/enigma-list/2001-December/005947.html https://listman.redhat.com/pipermail/enigma-list/2001-December/005950.html I'm not saying that there isn't a bug, only that I cannot reproduce. I need to reproduce this if you want me to fix: bash$ rpm --recompile /etc/inittab Installing /etc/inittab error: /etc/inittab cannot be installed bash$ Created attachment 41148 [details]
patch suggestion
Sorry, the most recent comments belong to bug #57519. Will move them. |