Hello,
I'm wondering if there's an "elegant" and "rpm" way to do the
following, without calling an external tool (and maybe adding another
dependency to a package):
Project "foo" tracks the development of project "bar" and both use
basic semantic versioning, X.Y.Z. Project "bar" rarely increments the
patch version and only for internal development purposes. Regular
releases always carry a patch version of 0, e.g. 16.5.0. Project "foo"
follows the same major and minor versions as "bar", but they also
publish releases with incremented patch versions. Any given foo
release should be built against a bar release with the same major and
minor versions. Does rpm provide a way to require that part of the
version string, e.g. for foo-16.5.4:
Requires: bar >= 16.5
without hard coding the actual values?
Best regards,
A.