--provides epoch

Thomas Jarosch thomas.jarosch at intra2net.com
Wed Mar 10 16:39:59 UTC 2010


On Wednesday, 10. March 2010 17:21:38 Todd Rinaldo wrote:
> The following command does not tell me what the epoch is of each version
> it provides, even when I know the epoch was provided in that spec file.
> How do I get this information?
> 
> rpm -qp --provides $RPMFILE

Try something like this:
rpm -qp --queryformat="%{EPOCH}\n" $RPMFILE

HTH,
Thomas


More information about the Rpm-list mailing list