diff options
author | jbj <devnull@localhost> | 1999-12-07 07:05:14 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-07 07:05:14 +0000 |
commit | 92a11a944b81bea96a3ab951d04b8cfdedf7d159 (patch) | |
tree | 4636a9d21212d0f5ed475eb15f9b02958ea3ff25 /scripts | |
parent | 4d81760947605d0378274447e9802d2233047d4f (diff) | |
download | rpm-92a11a944b81bea96a3ab951d04b8cfdedf7d159.tar.gz rpm-92a11a944b81bea96a3ab951d04b8cfdedf7d159.tar.bz2 rpm-92a11a944b81bea96a3ab951d04b8cfdedf7d159.zip |
Here is a patch for rpmdiff. It fixes a bug where I did not
understand the difference between:
'FILEUIDS', 'FILEGIDS',
and
'FILEGROUPNAME', 'FILEUSERNAME',
Ken
CVS patchset: 3461
CVS date: 1999/12/07 07:05:14
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. |