diff options
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r-- | build/parseSpec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index 6078e0eca..38ba5e206 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -57,6 +57,7 @@ static const struct PartRec { { PART_TRIGGERIN, LEN_AND_STR("%triggerin")}, { PART_TRIGGERIN, LEN_AND_STR("%trigger")}, { PART_VERIFYSCRIPT, LEN_AND_STR("%verifyscript")}, + { PART_POLICIES, LEN_AND_STR("%sepolicy")}, {0, 0, 0} }; @@ -603,6 +604,10 @@ int parseSpec(rpmts ts, const char *specFile, const char *rootDir, parsePart = parseFiles(spec); break; + case PART_POLICIES: + parsePart = parsePolicies(spec); + break; + case PART_NONE: /* XXX avoid gcc whining */ case PART_LAST: case PART_BUILDARCHITECTURES: |