Red Hat Bugzilla – Bug 242242
docbook-simple.cat shows as being modified by rpm -V after a fresh install
Last modified: 2007-11-30 17:12:05 EST
Description of problem:
After a fresh install running rpm -V shows /etc/sgml/docbook-simple.cat as being
changed. Since it isn't marked as a config file this makes one worry when
checking the integrity of the system using rpm -V.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm --force -U docbook-simple-1.0-2.1.1.noarch.rpm
2. rpm -V docbook-simple
No files being flagged.
docbook-slides has the same problem with /etc/sgml/docbook-slides.cat .
I think this issue is not necessary to be fixed in current release, I will fix
this with %config(noreplace) of those catalog files, because I'm now doing
rpmlint checks of docbook packages. Moving version to DEVEL, this issue will be
fixed during rpmlint corrections.
rpmlint corrections done, built as docbook-simple-1.1-2.fc9 , file is marked as
configuration, is modified in %post (workaround of some older bug). If the mark
as configuration file is not enough for you, there will be necessary some
changes to fix the old bug some other way. I prefer to keep it like that.
Note: With docbook-slides-3.4.0-2.fc9 it is the same.
That seems like a reasonable compromise. While it isn't a normal config file, it
does make it so when you see the file has changed, that it is less worrisome.