Bug 118188
Summary: | rpmbuild vs rpm -ba | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel <da> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | da, herrold |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-03-13 00:15:01 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
Daniel
2004-03-12 22:18:23 UTC
rpm -ba used to be the way to build a srpm until RHL 7.3 or 8.0. In RHL 8.0 or 9 this changed. You now require to use rpmbuild -ba to build a srpm (or a spec file). Please be so kind to ask these kind of questions on the fedora-list. Docs around the internet do not always get updated instantly. This is NOTABUG. http://www.rpm.org/hintskinks/rpmbuild/ has been in place since July 2002 On the website for rpm, and on the mailing list for rpm hosted by Red Hat, and in the man page accompanying the rpm package, this is long since documented. First off, yes I'm embarrassed to admit I didn't notice the content in the RPM manpage. I think I checked the manpage first; I must have missed the pertinant part at the bottom about rpmbuild. I apologize for saying the contrary. I will take your word that redhat's RPM list describes building RPMs well; the archive has been down since Friday when I started looking for information. But please permit me to comment on the first part of Russ's conmment. You said: "http://www.rpm.org/hintskinks/rpmbuild/ has been in place since July 2002" I didn't find this page in an hour of looking for info about building RPMs, via google, and by browsing your pages. I do recognize that "documents around the internet do not always get updated instantly" - but it seemed very difficult to find the right document on rpm.org itself. From the front page; I first visited "RPM HowTo". It refers to 'rpm -ba'. Back to the front page. I visited "Howto's". It honestly did not occur to me to visit "The Fight" to find what I was looking for. The other howtos are either the one I already looked at, or mandrake specific. Back to the front page. I wasn't looking for kinks- that sounded like a distraction... The first link: "search". Search for 'build rpm'. Looking just now, out of the first ten results, only the ninth link gets the info I need; that was /howto/thefight/ If I may make a quick suggestion: relabel "The fight" from: "Matthias Saou goes head-to-head with tarballs" to "Matthias Saou's rpm package building introduction." - that would have gotten me to the exact document I needed from the Howto page. The "Hints and Kinks" name on the front page didn't suggest what I was looking for; I wonder if the hints might be appropriately relabeled and listed on the howtos page? The reason I've gone to the trouble to write all this is assuredly not to put down your and other developers', efforts; but to give a perspective of a RPM-creating newbie. I would like to give back if I could; my suggestion on Hints and Kinks comes with an offer to come up with additional wording suggestions, if you are interested. In any case I concur this is not a bug with fedora and am happy to take my comments elsewhere (as needed). |