pkgstyles: support variants for distro versions
CentOS 7 is still using yum
while CentOS 8 is using dnf
.
Provide easy way to:
- select pkgstyle based on distro version (different pkgstyle for centos-7 and centos-8)
- reuse common pkgstyle code
This will probably require extending SUPPORTED_DISTROS
list with version information, i.e.:
'fedora >= 30',
'epel >= 8',
and/or prefix approach
'debian-buster',
'debian-bullseye'