We have a package A with version 1.0.0-SNAPSHOT. Resulting RPM package gets version 1.0.0~SNAPSHOT because of sanitizeVersion call. Now, we have a package B which requires('A', A.version) but here, this version doesn't pass any changes and the resulting package has a meta with requirement of 1.0.0-SNAPSHOT, not 1.0.0~SNAPSHOT, which is obviously not working.
We have a package A with version
1.0.0-SNAPSHOT. Resulting RPM package gets version1.0.0~SNAPSHOTbecause ofsanitizeVersioncall. Now, we have a package B whichrequires('A', A.version)but here, this version doesn't pass any changes and the resulting package has a meta with requirement of1.0.0-SNAPSHOT, not1.0.0~SNAPSHOT, which is obviously not working.