Configuration files in RPMs can have several attributes, one important one is 'noreplace' (i.e., "%config(noreplace) file-name"). This allows for configuration files that have been changed after the RPM has been installed to not be over-written when the RPM is updated -- for example with a later version. This is very important, because you often want to customize your configuration -- that's what the configuration is for after all. Without 'noreplace', your changes will be over-written by the updated RPM's "stock" configuration file. I'm sad to see it can't be made available for 2.6/2.7. I realize this is very old, but that's the version that's stock on RedHat Enterprise Linux -- which many of us are forced to use through our work environments. On Thursday, March 13, 2014 5:24 AM, Éric Araujo <report@bugs.python.org> wrote: >Éric Araujo added the comment: > >Can you give more information about this change? > >As a new feature, it cannot go into 2.7. > > >---------- >components: +Distutils -Build >nosy: +eric.araujo >type: -> enhancement >versions: +Python 3.5 -Python 2.7 > >_______________________________________ >Python tracker <report@bugs.python.org> ><http://bugs.python.org/issue20337> >_______________________________________ > >
Configuration files in RPMs can have several attributes, one important one is 'noreplace' (i.e., "%config(noreplace) file-name"). This allows for configuration files that have been changed after the RPM has been installed to not be over-written when the RPM is updated -- for example with a later version. This is very important, because you often want to customize your configuration -- that's what the configuration is for after all. Without 'noreplace', your changes will be over-written by the updated RPM's "stock" configuration file. I'm sad to see it can't be made available for 2.6/2.7. I realize this is very old, but that's the version that's stock on RedHat Enterprise Linux -- which many of us are forced to use through our work environments. On Thursday, March 13, 2014 5:24 AM, Éric Araujo <report@bugs.python.org> wrote: >Éric Araujo added the comment: > >Can you give more information about this change? > >As a new feature, it cannot go into 2.7. > > >---------- >components: +Distutils -Build >nosy: +eric.araujo >type: -> enhancement >versions: +Python 3.5 -Python 2.7 > >_______________________________________ >Python tracker <report@bugs.python.org> ><http://bugs.python.org/issue20337> >_______________________________________ > >
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date
User
Action
Args
2022-04-11 14:57:57
admin
set
github: 64536
2021-02-03 18:26:19
steve.dower
set
status: open -> closednosy: + steve.dowermessages: + resolution: out of datestage: resolved