Bug 283901 - "rpmbuild" should have an option for a simple untar and patch operation
Summary: "rpmbuild" should have an option for a simple untar and patch operation
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm   
(Show other bugs)
Version: 8
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-09 08:48 UTC by Robert P. J. Day
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)

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.


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