[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

new tags for RPM



There are some tags lacking from the current
RPM implementations that would be interesting
to have, especially for use by tools such as
APT:

RPMTAG_ESSENTIAL - a boolean flag telling whether this
package is essential for the system to be bootable/usable
(like glibc, bash etc)  Removal of packages with this
flag could be denied without the --force or equivalent
option... or not, dunno.

RPMTAG_IMPORTANCE - tells how important the package is,
in the same fashion as dpkg's Priority tag. Values for
it could be numerical constants, like:
RPMIMPORT_IMPORTANT 5
RPMIMPORT_REQUIRED  4
RPMIMPORT_STANDARD  3
RPMIMPORT_OPTIONAL  2
RPMIMPORT_EXTRA     1

RPMTAG_SUGGESTEDNAMES - a list of package names that are
considered usefull to have whenever you have this package
installed. Like xmms-skins when you have xmms installed or
something like that.

Note that rpm will not need to do any treatment over these
flags, other than just storing them in the package header.
Therefore, no compatibility will be broken. If you think
such additional tags are acceptable for a future rpm
release, I'd be glad to send a patch.

Thanks
--
Alfredo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []