rpm changed behavior it terminates build if wrong version is specified

Lubos Kardos lkardos at redhat.com
Fri Oct 23 13:47:29 UTC 2015


I want to just to inform you that the new version of rpmbuild
(rpm-build-4.13.0-0.rc1.6.fc24) that is available in rawhide terminates build
when a wrong version format is used in spec i. e. epoch is not unsigned integer
or mutilple separators are used.

Example of wrong versions:
Requires: packageA = -1:2.3-fc24      // negative epoch
Requires: packageA = foo:2.3-fc24     // non alphanumeric epoch
Requires: packageA = 1:3:2.3-fc24     // multiple separators ":"
Requires: packageA = 1:2.3-5-12-fc24  // multiple separators "-"

If you need to build packages which don't comply with these new rules then you
can set macro %_wrong_version_format_terminate_build to 0 then only warnings
are showed but building is not terminated.

Some more info in [1].


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1251453

More information about the devel mailing list