summaryrefslogtreecommitdiffstats
path: root/rpmconstant/rpmh2tbl
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:34 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:34 +0000
commitaabbcae2eb65957110d7ec911bbd44dfdf35d8a5 (patch)
tree5dae03d954393698ad67e5a01d288eda08747ca5 /rpmconstant/rpmh2tbl
parent40e80496e746134409ac69eb5fe3c99dbbac91a8 (diff)
downloadperl-RPM4-aabbcae2eb65957110d7ec911bbd44dfdf35d8a5.tar
perl-RPM4-aabbcae2eb65957110d7ec911bbd44dfdf35d8a5.tar.gz
perl-RPM4-aabbcae2eb65957110d7ec911bbd44dfdf35d8a5.tar.bz2
perl-RPM4-aabbcae2eb65957110d7ec911bbd44dfdf35d8a5.tar.xz
perl-RPM4-aabbcae2eb65957110d7ec911bbd44dfdf35d8a5.zip
fix parsing rpm headers
rpm tag types & list now came from rpmtag.h rpm senses now came from rpmds.h rpm trans flags now came from rpmts.h git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@239 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'rpmconstant/rpmh2tbl')
-rwxr-xr-xrpmconstant/rpmh2tbl12
1 files changed, 8 insertions, 4 deletions
diff --git a/rpmconstant/rpmh2tbl b/rpmconstant/rpmh2tbl
index 92aeabe..8efa9aa 100755
--- a/rpmconstant/rpmh2tbl
+++ b/rpmconstant/rpmh2tbl
@@ -34,8 +34,6 @@ my @availlabletables;
my %file_const = (
'rpmlib.h' => {
'^(RPMDBI_[\w_]+)' => 'rpmdbi',
- '^_?(RPMSENSE_[\w_]+)' => 'rpmsenseflags',
- '^(RPMTAG_[\w_]+)' => 'rpmTag',
'^(RPMRC_[\w_]+)' => 'rpmRC',
'^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs',
'^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState',
@@ -43,14 +41,12 @@ my %file_const = (
'^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags',
'^(FA_[\w_]+)' => 'fileAction',
'^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes',
- '^(RPMTRANS_FLAG_[\w_]+)' => 'rpmtransFlags',
'^(INSTALL_[\w_]+)' => 'rpmInstallInterfaceFlags',
'^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags',
'^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
},
'header.h' => {
'^(HEADER_MAGIC_[\w_]+)' => 'hMagic',
- '^(RPM_[\w]+)_TYPE$' => 'rpmTagType',
},
'rpmbuild.h' => {
'^(RPMBUILD_[\w_]+)' => 'rpmBuildFlags',
@@ -63,6 +59,9 @@ my %file_const = (
'rpmdb.h' => {
'^(RPMMIRE_[\w_]+)' => 'rpmMireMode',
},
+ 'rpmds.h' => {
+ '^_?(RPMSENSE_[\w_]+)' => 'rpmsenseflags',
+ },
'rpmerr.h' => {
'^(RPMERR_[\w_]+)' => 'rpmerrCode',
},
@@ -79,11 +78,16 @@ my %file_const = (
'rpmps.h' => {
'^(RPMPROB_[\w_]+)' => 'rpmProblemType',
},
+ 'rpmtag.h' => {
+ '^(RPMTAG_[\w_]+)' => 'rpmTag',
+ '^(RPM_[\w]+)_TYPE$' => 'rpmTagType',
+ },
'rpmte.h' => {
'^(TR_[\w_]+)' => 'rpmElementType',
},
'rpmts.h' => {
'^_?(RPMVSF_[\w_]+)' => 'rpmvsflags',
+ '^(RPMTRANS_FLAG_[\w_]+)' => 'rpmtransFlags',
'^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType',
'^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX',
},