[packages/rpm-specdump] - define rpm version from pkg-config - drop support for antiquated rpm

Elan Ruusamäe glen at pld-linux.org
Mon Oct 19 12:18:55 CEST 2020


On 10/19/20 1:24 AM, baggins wrote:

> +RPM_FORMAT_VERSION := `pkg-config --modversion rpm | cut -d . -f 1`
> +RPM_MAJOR_VERSION := `pkg-config --modversion rpm | cut -d . -f 1`
> +RPM_MINOR_VERSION := `pkg-config --modversion rpm | cut -d . -f 1`
>   

these three are all the same, or I'm not seeing something?


More information about the pld-devel-en mailing list