diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/rpmdiff | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/scripts/rpmdiff b/scripts/rpmdiff index f0751d924..4f4599885 100644 --- a/scripts/rpmdiff +++ b/scripts/rpmdiff @@ -232,12 +232,12 @@ sub set_static_vars { # The data from the RPM files is stored in $RPM0, $RPM1 they are HoL. # The hash is indexed with the same index as appears in $RPMTAG, the -# other data is what ever comes out of the file. Most of the data we -# want is stored as arrays of values. We keep a hash to allow us to -# find the index number to use in all arrays given the filename. Some -# information like the package name and the posinstall script are -# stored, in the hash table as an array which contains a single -# string. +# other data is what ever comes out of the file. Most of the data we +# want is stored as arrays of values (occasionally it is a scalar +# value). We keep a hash to allow us to find the index number to use +# in all arrays given the filename. Some information like the package +# name and the posinstall script are stored, in the hash table as an +# array which contains a single string. @@ -275,20 +275,6 @@ sub set_static_vars { 'diff_char' => 'M', 'arg' => 'mode', }, - 1031 => { - # /* internal */ - 'tag_name' => 'FILEUIDS', - 'diff_order' => 5, - 'diff_char' => 'U', - 'arg' => 'user', - }, - 1032 => { - # /* internal */ - 'tag_name' => 'FILEGIDS', - 'diff_order' => 6, - 'diff_char' => 'G', - 'arg' => 'group', - }, 1033 => { 'tag_name' => 'FILERDEVS', 'diff_order' => 3, @@ -318,7 +304,28 @@ sub set_static_vars { 1037 => { 'tag_name' => 'FILEFLAGS', }, - + 1038 => { + 'tag_name' => 'ROOT', + }, + 1039 => { + 'tag_name' => 'FILEUSERNAME', + 'diff_order' => 5, + 'diff_char' => 'U', + 'arg' => 'user', + }, + 1040 => { + 'tag_name' => 'FILEGROUPNAME', + 'diff_order' => 6, + 'diff_char' => 'G', + 'arg' => 'group', + }, + 1098 => { + 'tag_name' => 'PREFIXES', + }, + 1099 => { + 'tag_name' => 'INSTPREFIXES', + }, + # support for differences of scripts 1023 => { @@ -384,7 +391,7 @@ sub set_static_vars { $NUM_DIFFERENCES = 0; - $RCS_REVISION = ' $Revision: 1.2 $ '; + $RCS_REVISION = ' $Revision: 1.3 $ '; # set a known path. |