summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-05-16 10:40:01 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-05-16 10:58:00 +0300
commit8d277bbba6843c310faf0e1dfe67f4db25ad9d66 (patch)
tree83490f3787722f03137ad0ff1f5f7830f4054106 /python
parent2225fd7e9297a62f66d7c9a190cf95d18ccbcd98 (diff)
downloadrpm-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.c2
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);