Bug 67593 - A means to conditionally build rpm without modifying spec file
A means to conditionally build rpm without modifying spec file
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-06-27 17:26 EDT by Dan Yefimov
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-06-27 17:28:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
This patch enables conditional building the rpm from the command line (via --rebuild switch) without modifying the spec file (4.02 KB, patch)
2002-06-27 17:28 EDT, Dan Yefimov
no flags Details | Diff

  None (edit)
Description Dan Yefimov 2002-06-27 17:26:25 EDT
Description of Problem:
Currently when I'm going to skip building unnecessary components I must first
install source rpm, make necessary changes to spec file and then manually build
the package. I propose using macros, mentioned in 'conditionalbuilds' document,
in the spec file

Version-Release number of selected component (if applicable):
rpm-4.0.4-7x
Comment 1 Dan Yefimov 2002-06-27 17:28:21 EDT
Created attachment 62947 [details]
This patch enables conditional building the rpm from the command line (via --rebuild switch) without modifying the spec file
Comment 2 Jeff Johnson 2002-06-27 20:21:17 EDT
Your change is perfectly sensible, and problaly correct.

However, the rpm specfile cannot rely on conventions
of current rpm, and must be as simple as possible for
me to build with any legacy version of rpm, even versiosn
that did not implement the --with macros from the command
line.

There's certainly nothing stopping you from packaging
rpm any way that you wish, however.

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