From d1dcc53dfb7658b46c108a4cd011439c2a6b45ea Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 10 Jul 2012 12:46:22 +0300 Subject: [PATCH] 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. --- build/files.c | 1 + 1 file changed, 1 insertion(+) diff --git a/build/files.c b/build/files.c index b1420c7de..f74863bec 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 },