summaryrefslogtreecommitdiff
path: root/lib/rpmrc.c
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2012-01-03 12:36:30 +0100
committerAles Kozumplik <akozumpl@redhat.com>2012-01-04 14:16:59 +0100
commitea9d9d68c8716ef922d3dd08d45cc5c815aabd0c (patch)
treed0fb6b6a0bf23c891b02dc33a69fd6761be06bea /lib/rpmrc.c
parentc6a9d0bd6056445c9cee03eeae1219de367d918c (diff)
downloadlibrpm-tizen-ea9d9d68c8716ef922d3dd08d45cc5c815aabd0c.tar.gz
librpm-tizen-ea9d9d68c8716ef922d3dd08d45cc5c815aabd0c.tar.bz2
librpm-tizen-ea9d9d68c8716ef922d3dd08d45cc5c815aabd0c.zip
rpmOption.required is not used.
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r--lib/rpmrc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 177db0e0c..67153aba6 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -69,7 +69,6 @@ struct rpmOption {
char * name;
int var;
int archSpecific;
-int required;
int macroize;
int localize;
};
@@ -117,12 +116,12 @@ static struct tableType_s tables[RPM_MACHTABLE_COUNT] = {
#define RPMVAR_NUM 55 /* number of RPMVAR entries */
/* this *must* be kept in alphabetical order */
-/* The order of the flags is archSpecific, required, macroize, localize */
+/* The order of the flags is archSpecific, macroize, localize */
static const struct rpmOption optionTable[] = {
- { "include", RPMVAR_INCLUDE, 0, 1, 0, 2 },
- { "macrofiles", RPMVAR_MACROFILES, 0, 0, 0, 1 },
- { "optflags", RPMVAR_OPTFLAGS, 1, 0, 1, 0 },
+ { "include", RPMVAR_INCLUDE, 0, 0, 2 },
+ { "macrofiles", RPMVAR_MACROFILES, 0, 0, 1 },
+ { "optflags", RPMVAR_OPTFLAGS, 1, 1, 0 },
};
static const size_t optionTableSize = sizeof(optionTable) / sizeof(*optionTable);