Alexey Tourbin be808f57ca Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)
[Based on rpm.org e64bf5b9 by Panu Matilainen.]

The current behavior of %config(noreplace) creates a .rpmnewfile iff the type
of the current file has been changed wrto what was originally installed.

The patch changes this behavior so when old and new (in db and in package) is
identical -> not changed, the function returns FA_SKIP -> it won't clobber
anything, it simply skips installation of the file from the package.
This patch handles also the opposite case when old and new packages contain
%config symlink and we have regular file on disk.

Patch from Tomas Mraz.
2009-03-09 20:13:05 +03:00
2009-03-08 20:12:18 +03:00
2009-03-08 20:12:18 +03:00
2006-05-14 17:05:34 +04:00
2006-05-14 18:21:28 +04:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2009-03-08 20:12:18 +03:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:44:16 +00:00
2002-03-25 20:16:26 +00:00
2007-11-10 13:26:47 +00:00
2007-11-10 13:26:47 +00:00
2006-11-17 00:01:44 +00:00
2006-05-14 17:05:34 +04:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2009-03-09 19:04:45 +03:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2006-05-14 17:05:34 +04:00
2006-05-14 17:05:34 +04:00
2007-11-10 13:26:47 +00:00
2003-11-24 18:59:03 +00:00
2002-03-25 20:16:26 +00:00

This is RPM, the Red Hat Package Manager.

The latest releases are always available at:

	ftp://ftp.rpm.org/pub/rpm

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site, as well as http://www.rpm.org.

There is a mailing list for discussion of RPM issues, rpm-list@redhat.com.
To subscribe, send a message to rpm-list-request@redhat.com with the word
"subscribe" in the subject line.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).
Description
No description provided
Readme 4.5 MiB
Languages
C 88.7%
Shell 8.9%
M4 1.3%
Makefile 1%