Re: sendmail update left me in a fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2006-04-10 11:53:04 +0100, Brian Morrison wrote:
> On 10/04/2006 Peter J. Holzer wrote:
> > > That's when the config file has essential changes for the updated
> > > package to work at all, and hence must be installed. The rpmsave 
> > > file is there as a hint that you need to merge your previous changes with 
> > > the new format.
> > 
> > How does RPM decide whether the changes are "essential"? Is there a 
> > flag in the SPEC file?
> 
> It is decided by whoever writes the spec file.

Hmpf. I guess that's what I deserve for asking such imprecise questions.

Ok, I think I found it in /usr/share/doc/rpm-4.3.1/spec:

| The %config(noreplace) indicates that the file in the package should
| be installed with extension .rpmnew if there is already a modified file
| with the same name on the installed machine.

So, the default seems to be to replace config files, but it the packager
deems an update non-essential he can mark it with noreplace.

BTW, is there somewhere a complete up-to-date description of the spec
file? The file above is just a "what's new since some unspecified
release" file, and RPM to the max is now over 5 years old.

	hp

-- 
   _  | Peter J. Holzer    | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR       | I'd be programming in Java.
| |   | hjp@xxxxxxxxx      | I don't, and I'm not.
__/   | http://www.hjp.at/ |   -- Jesse Erlbaum on dbi-users

Attachment: pgpoXM2X1i7Yb.pgp
Description: PGP signature

--

fedora-legacy-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux