From: Panu Matilainen Date: Tue, 10 Jul 2012 09:46:22 +0000 (+0300) Subject: Accept "owner" as an alias to "user" %verify attribute (RhBug:838657) X-Git-Tag: tznext/4.11.0.1.tizen20130304~435 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1dcc53dfb7658b46c108a4cd011439c2a6b45ea;p=tools%2Flibrpm-tizen.git Accept "owner" as an alias to "user" %verify attribute (RhBug:838657) - Both Maximum RPM and the newer RPM Guide incorrectly list "owner" as a valid %verify() attribute, whereas rpm has used "user" for as long as the code has been present (since 1996). Since adding the alias is so trivial, and certainly easier than changing published books... meh. --- diff --git a/build/files.c b/build/files.c index b1420c7..f74863b 100644 --- a/build/files.c +++ b/build/files.c @@ -278,6 +278,7 @@ static VFA_t const verifyAttrs[] = { { "size", RPMVERIFY_FILESIZE }, { "link", RPMVERIFY_LINKTO }, { "user", RPMVERIFY_USER }, + { "owner", RPMVERIFY_USER }, { "group", RPMVERIFY_GROUP }, { "mtime", RPMVERIFY_MTIME }, { "mode", RPMVERIFY_MODE },