Bug 283901 - "rpmbuild" should have an option for a simple untar and patch operation
"rpmbuild" should have an option for a simple untar and patch operation
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-09-09 04:48 EDT by Robert P. J. Day
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-09 09:40:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert P. J. Day 2007-09-09 04:48:15 EDT
For people who simply want to "read the fine source," it would be nice if
"rpmbuild" supported an option to do nothing more than untar the source and
apply the patches for a given spec file.

As it stands, the currently minimal "prep" step ("-bp") insists on processing
all the "BuildRequires" values and complaining about missing source rpms that
would be necessary for a *build*.  But if you just want to look at the source,
none of that should be relevant.

What about a new rpmbuild option such as "-bu", representing a simple "untar and
patch", so people who are told to go read the source can do exactly that without
having to deal with the grief inflicted by irrelevant BuildRequires dependencies?
Comment 1 Robert P. J. Day 2007-09-09 05:05:20 EDT
never mind, the "--nodeps" option was just pointed out to me.

Note You need to log in before you can comment on or make changes to this bug.