Bug 283901

Summary: "rpmbuild" should have an option for a simple untar and patch operation
Product: [Fedora] Fedora Reporter: Robert P. J. Day <rpjday>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 8CC: pnasrat
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: 2007-09-09 13:40:53 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 Robert P. J. Day 2007-09-09 08:48:15 UTC
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 09:05:20 UTC
never mind, the "--nodeps" option was just pointed out to me.