Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 62200 - RFE: Add option to %config(replace only if updating from >= 2.0)
RFE: Add option to %config(replace only if updating from >= 2.0)
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2002-03-28 06:57 EST by Bernhard Rosenkraenzer
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-28 06:58:03 EST
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 Bernhard Rosenkraenzer 2002-03-28 06:57:59 EST
Description of Problem: 
If a config file format has changed between version 1.0 and 2.0, but not 
between 2.0 and 2.1, you usually want to replace the config file for anyone 
updating from 1.0, but leave the old config file intact for someone updating 
from 2.0. 
The current %config vs. %config(noreplace) doesn't allow to make a difference 
between these cases. 
Version-Release number of selected component (if applicable): 
Comment 1 Jeff Johnson 2002-03-28 09:15:00 EST
Wiring version comparison into %config adds unnecessary
complication to rpm for little gain. Use triggers (with
versions) to rearrange the existing mix of files if
you *really* need this functionality.

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