summaryrefslogtreecommitdiff
path: root/build/files.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-07-10 12:46:22 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-07-10 12:52:23 +0300
commitd1dcc53dfb7658b46c108a4cd011439c2a6b45ea (patch)
treea6acb311d272f2c3eff9a9bac2107f8070a31e54 /build/files.c
parent32a4e283a6a0fa572ac6f41d548079df9aa7fd40 (diff)
downloadlibrpm-tizen-d1dcc53dfb7658b46c108a4cd011439c2a6b45ea.tar.gz
librpm-tizen-d1dcc53dfb7658b46c108a4cd011439c2a6b45ea.tar.bz2
librpm-tizen-d1dcc53dfb7658b46c108a4cd011439c2a6b45ea.zip
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.
Diffstat (limited to 'build/files.c')
-rw-r--r--build/files.c1
1 files changed, 1 insertions, 0 deletions
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 },