Bug 67593 - A means to conditionally build rpm without modifying spec file
Summary: A means to conditionally build rpm without modifying spec file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-27 21:26 UTC by Dan Yefimov
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-27 21:28:25 UTC
Embargoed:


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 21:28 UTC, Dan Yefimov
no flags Details | Diff

Description Dan Yefimov 2002-06-27 21:26:25 UTC
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 21:28:21 UTC
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-28 00:21:17 UTC
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.