HomeClusterLabs Projects

Build: rpm: define spec commit correctly for release candidate tags

Description

Build: rpm: define spec commit correctly for release candidate tags

fdd8ea5 (in Pacemaker 2.0.3) broke RPM generation for release candidates.

That commit was part of a larger project to get "make dist" working, and made
"make dist" and "make export" use the same archive file name. To get this to
work, it made the rpm spec use SHORTTAG instead of TAG as the commit.

This was fine for untagged releases, but for tagged releases, distribution
naming should use the version number alone, while the spec commit should use
the entire tag.

The solution is to use separate variables for distribution naming and
the spec commit.

Details

Provenance
kgaillotAuthored on May 1 2020, 11:23 AM
Parents
rP8aae01fb47a9: Doc: ChangeLog: update for 2.0.4-rc1 release
Branches
Unknown
Tags
Unknown

Event Timeline