The noreplace rpmmacros addition works perfectly for us. It solves all of our problems that we were having with auto-updating and working configs being overwritten. However, the .rpmmacros existence causes another side effect on linux systems because it is seen by the OS rpm as well as openpkg rpm. It would better better to move the openpkg .rpmmacros file under the ~/.openpkg/ directory along with the build file I think.
On Sun, 2005-04-10 at 10:35 +0200, Ralf S. Engelschall wrote: > On Sat, Apr 09, 2005, Shawn Walker wrote: > > > # ~/.rpmmacros: > > %config %%%%config(noreplace) > > > > This way all "%config" tags in the OpenPKG .spec files are on-the-fly > > replaced with "%config(noreplace)" and as a result you get the .rpmnew > > instead of .rpmsave files. Voila! > > > > Wonderful! Then I have no complaint. Though it would be nice if that were > > documented in the FAQ :) > > I've added it to the Wiki now: > http://wiki.openpkg.org/?HintGeneralConfigNoReplace > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List openpkg-users@openpkg.org > -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu
signature.asc
Description: This is a digitally signed message part