summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:32 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 00:14:32 +0000
commit40e80496e746134409ac69eb5fe3c99dbbac91a8 (patch)
treed5dda0ed4f7bb65eb9df67fed0831b61cb9c7e05
parent7ccfd687e6b1554ebcdb123979f005523a1b89b1 (diff)
downloadperl-RPM4-40e80496e746134409ac69eb5fe3c99dbbac91a8.tar
perl-RPM4-40e80496e746134409ac69eb5fe3c99dbbac91a8.tar.gz
perl-RPM4-40e80496e746134409ac69eb5fe3c99dbbac91a8.tar.bz2
perl-RPM4-40e80496e746134409ac69eb5fe3c99dbbac91a8.tar.xz
perl-RPM4-40e80496e746134409ac69eb5fe3c99dbbac91a8.zip
sort header entries
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@238 971eb68f-4bfb-0310-8326-d2484c010a4c
-rwxr-xr-xrpmconstant/rpmh2tbl42
1 files changed, 21 insertions, 21 deletions
diff --git a/rpmconstant/rpmh2tbl b/rpmconstant/rpmh2tbl
index 3f989c8..92aeabe 100755
--- a/rpmconstant/rpmh2tbl
+++ b/rpmconstant/rpmh2tbl
@@ -32,11 +32,6 @@ my @availlabletables;
# 'REGEXP' => table,
my %file_const = (
- 'rpmts.h' => {
- '^_?(RPMVSF_[\w_]+)' => 'rpmvsflags',
- '^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType',
- '^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX',
- },
'rpmlib.h' => {
'^(RPMDBI_[\w_]+)' => 'rpmdbi',
'^_?(RPMSENSE_[\w_]+)' => 'rpmsenseflags',
@@ -53,16 +48,6 @@ my %file_const = (
'^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags',
'^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
},
- 'rpmps.h' => {
- '^(RPMPROB_[\w_]+)' => 'rpmProblemType',
- },
- 'rpmcli.h' => {
- '^(RPMSIGN_[\w_]+)' => 'rpmSignFlags',
- '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags',
- },
- 'rpmdb.h' => {
- '^(RPMMIRE_[\w_]+)' => 'rpmMireMode',
- },
'header.h' => {
'^(HEADER_MAGIC_[\w_]+)' => 'hMagic',
'^(RPM_[\w]+)_TYPE$' => 'rpmTagType',
@@ -71,22 +56,37 @@ my %file_const = (
'^(RPMBUILD_[\w_]+)' => 'rpmBuildFlags',
'^(PART_[\w_]+)' => 'rpmParseState',
},
- 'rpmerr.h' => {
- '^(RPMERR_[\w_]+)' => 'rpmerrCode',
+ 'rpmcli.h' => {
+ '^(RPMSIGN_[\w_]+)' => 'rpmSignFlags',
+ '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags',
},
- 'rpmmacro.h' => {
- '^(RMIL_[\w_]+)' => 'rpmMacrosContext',
+ 'rpmdb.h' => {
+ '^(RPMMIRE_[\w_]+)' => 'rpmMireMode',
},
- 'rpmte.h' => {
- '^(TR_[\w_]+)' => 'rpmElementType',
+ 'rpmerr.h' => {
+ '^(RPMERR_[\w_]+)' => 'rpmerrCode',
},
'rpmlog.h' => {
'^(RPMLOG_(?!PRI$|MAKEPRI$|FAC$|MASK$|UPTO$)[\w_]+)' => 'rpmlog',
},
+ 'rpmmacro.h' => {
+ '^(RMIL_[\w_]+)' => 'rpmMacrosContext',
+ },
'rpmmessage.h' => {
'^(RPMCALLBACK_[\w_]+)' => 'rpmCallbackType',
'^(RPMMESS_[\w_]+)' => 'rpmmess',
},
+ 'rpmps.h' => {
+ '^(RPMPROB_[\w_]+)' => 'rpmProblemType',
+ },
+ 'rpmte.h' => {
+ '^(TR_[\w_]+)' => 'rpmElementType',
+ },
+ 'rpmts.h' => {
+ '^_?(RPMVSF_[\w_]+)' => 'rpmvsflags',
+ '^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType',
+ '^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX',
+ },
);
my %tableprefix = (