softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

rdopkg should check epoch of dependencies when setting explicit requires #101

Open amoralej opened 7 years ago

amoralej commented 7 years ago

When adding Requires on packages with epoch we need to add it as in:

Requires: python-oslo-config >= 2:3.10.0

However, when running rdopkg reqcheck, epoch information is not included by rdopkg:

MISSING: Requires: python-oslo-config >= 3.14.0

Currently, there is a list of existing epoch in upstream rpm-packaging project: https://github.com/openstack/rpm-packaging/blob/master/epoch/fedora.yaml that i think could be used by rdopkg.