diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-05-16 10:40:01 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-05-16 10:58:00 +0300 |
commit | 8d277bbba6843c310faf0e1dfe67f4db25ad9d66 (patch) | |
tree | 83490f3787722f03137ad0ff1f5f7830f4054106 /python | |
parent | 2225fd7e9297a62f66d7c9a190cf95d18ccbcd98 (diff) | |
download | rpm-8d277bbba6843c310faf0e1dfe67f4db25ad9d66.tar.gz rpm-8d277bbba6843c310faf0e1dfe67f4db25ad9d66.tar.bz2 rpm-8d277bbba6843c310faf0e1dfe67f4db25ad9d66.zip |
Explicitly differentate internal/exported file attributes
- RPMFILE_EXCLUDE only exists during spec parse, and doesn't "leak"
into headers only because the file is, well, excluded to start with.
Unexport the internal-only bit and explicitly strip out any excess
bits from data going to header. The current 16/16 split is artificial
of course, RPMTAG_FILEATTRS is 32bit so there's plenty of room
for growing new file attributes, with internal-only adjustments
required.
- Eliminate RPMFILE_UNPATCHED while at it, this is a leftover
from Suse patch rpms which are no longer used anywhere.
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index b82a06d10..27430ee5f 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -367,8 +367,6 @@ static int initModule(PyObject *m) REGISTER_ENUM(RPMFILE_GHOST); REGISTER_ENUM(RPMFILE_LICENSE); REGISTER_ENUM(RPMFILE_README); - REGISTER_ENUM(RPMFILE_EXCLUDE); - REGISTER_ENUM(RPMFILE_UNPATCHED); REGISTER_ENUM(RPMFILE_PUBKEY); REGISTER_ENUM(RPMDEP_SENSE_REQUIRES); |