[Rpm-metadata] files listings

seth vidal skvidal at phy.duke.edu
Wed Oct 22 04:39:18 UTC 2003


Hi all,
 I was thinking about the listing of all the files in any rpm.

I figured package-based entries and then the complete file lists, maybe
marking directories with a type attribute.

but how to uniquely id the packages - should we use the package
checksum? or would nevra be sufficient, or maybe just the filename as it
is listed in the metadata file.

<package someidentifier attribute>
  <file>/some/file/name</file>
  <file type='dir'>/some/dir</file>
</package>

or we could do:

<package> someidentifier attribute>
  <dirs>
    <entry>/some/path</entry>
    <entry>/some/other/path</entry>
  </dirs>
  <files>
    <entry>/some/file</entry>
    <entry>/some/other/file</entry>
  </files>
</package>

I figure whatever identifier used here should be duplicated in the
changelog/misc metadata file too.

thoughts? suggestions?
thanks
-sv





More information about the Rpm-metadata mailing list