Use text token attributes instead of bitfield for file classification
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 17 Feb 2010 13:09:20 +0000 (15:09 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 17 Feb 2010 13:09:20 +0000 (15:09 +0200)
commitad2c8485ea109d37a2fb8ee9ed5f688eef282bf8
tree85e3977ebf5e666207a1d1e0d56178a3be8cbccc
parentf3ca4fb48171b4bd0549fe67f302517135c465ff
Use text token attributes instead of bitfield for file classification
- 32 bits are nowhere near enough to meaningfully classify all the
  types of data we might want to extract dependencies for, the bitfield
  was already almost used up and twisty with embedded enumeration in the
  middle etc. With text-based tokens, there are no limits to the total
  number of known attributes or number of attributes that can be attached
  to a given file. This also paves way to moving the classification table
  out of librpmbuild into configuration file(s).
- Remove most of the now unused RPMFC_FOO definitions from the FCOLOR enum,
  leaving just the more abstract INCLUDE, WHITE etc which control other
  aspects of the operation. Also ELF is special as the value ends up
  in headers, preserve it too.
build/rpmfc.c
build/rpmfc.h