RPM Community Forums

Mailing List Message of <rpm-devel>

Re: off topic: some curiosity

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 01 Feb 2008 - 01:27:29 CET
Message-Id: <8F018654-8EF1-4FC3-A1B5-543965446233@mac.com>

On Jan 31, 2008, at 6:15 PM, devzero2000 wrote:

> Hi
> I know that it is a forum of development. so sorry in advance.
>
>  But as packager I would want to know if it were possible to know  
> the innovationes that RPM 5,0 introduces in greater detail,
> for example new tag, better dependency resolution, new and useful  
> command-line switches and so on
>

Likely the most interesting feature for packagers in rpm-5.0.0 is
"arbitrary tags".

What that means is that you can create you own tags in *.rpm packages.

Add the name of your new tag to this macro

#
# Colon separated list of permitted arbitrary tag names
%_arbitrary_tags        Class:Track:Trackprog:Foo:Bar:Baz

Then all that is needed to add the new tag to *.rpm packages
is to add the tag to a spec file. E.g. with the default configuration
distributed in rpm-5.0.0, one can add to spec files
     Foo: some string here

Build the package, and verify that indeed the Foo: tag is present:
     rpm -qp --qf '%{foo}\n' yourpkg*.rpm

Other than that, package manager "features" are roughly akin
to the features of rocks and moss, opaque, heavy, and occaisionally  
fuzzy. ;-)


>  As an example as far i know the support to the LZMA has been  
> introduced also in RPM 4.4.2 of the RHEL.1 (backported also  
> this ? :=))
>

LZMA still needs a magic identifier in order to be widely
deployed. rpm5 will be amongst the first to use LZAM if/when
LZMA magic exists.

73 de Jeff
Received on Fri Feb 1 01:27:51 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.