Install RPM `.spec` file Requires and BuildRequires automatically

I’m always surprised how hard it is to google basic information about RPM packaging.

You can use yum-builddep from yum-utils package to install build requires for you:

sudo yum-builddep package.spec

Can be used on source RPM as well.

blogroll

social