Skip to content

Handle tags without embedded dashes.

Steven Falco requested to merge github/fork/stevefalco/handle_non_rc_tag into master

The builder.sh script cannot handle tags like 5.0.0 because it attempts to split the tag on a "-" character.

I've updated the script and spec file to handle all three cases: no tag, tag with an -rc suffix, and tag without a suffix. This also gave me the opportunity to make the spec file more readable, by eliminating all the version_suffix macros.

There are no changes to the number of packages generated, or the resulting package names.

There is a new flag to the builder script (-r release) which is only used in the case of building a tagged release without an -rc suffix. Fedora requires (or at least strongly suggests) that the release be set to "1" for the first release of a package, and that any later patches to the upstream be handled by incrementing the release number. This flag allows one to specify that.

None of these changes will have any effect on the nightlies, nor will the changes require any different flags to the builder script.

Merge request reports