I was chatting with the folks in #rpm about how to ensure a package won't
cause problems on older versions of rpmlib by attempting to query the rpmdb
inside one of the scriptlets.  Their solution was to include "Requires:
rpmlib(ConcurrentAccess) = 4.1-1" in the spec file.  This would ensure the
rpm wouldn't attempt to install on a system that didn't support
ConcurrentAccess.

However when I do either of

$ yum provides 'rpmlib(ConcurrentAccess)'
$ yum resolvedep 'rpmlib(ConcurrentAccess)'

I don't get any matches.  :-(

On the same system:

$ rpm --showrc | grep Concurrent
   rpmlib(ConcurrentAccess) = 4.1-1

I'm assuming these are special types of requirements, and before I recommend
to this ISV that he include the requirement to his rpm I like to confirm
that yum will be able to process it.

Russell
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to