From 40e80496e746134409ac69eb5fe3c99dbbac91a8 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 18 Dec 2012 00:14:32 +0000 Subject: sort header entries git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@238 971eb68f-4bfb-0310-8326-d2484c010a4c --- rpmconstant/rpmh2tbl | 42 +++++++++++++++++++++--------------------- 1 file 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 = ( -- cgit v1.2.1