HomeClusterLabs Projects
Diffusion Booth 2ed3296dbf21

booth.spec: Change naming scheme for upgrades

Description

booth.spec: Change naming scheme for upgrades

Previously the release was set to 1.$numcomm.$sha1.$dirty.$dist.
This is suboptimal for downstream, because when release increases then
downstream version is always newer no matter what numcomm is. So when CI
tries to install upstream version it won't get installed.

Proposed solution is to use $numcomm.$release.$sha1.$dirty.git.$dist so
numcomm is now second most important (version is first one) making any
pushed version bigger than any downstream version.

This scheme also works with rpmdev-bumpspec because release is now
global variable (rpmdev-bumpspec will increase "%global release" rather
than the release field).

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
jfriesseAuthored on Oct 1 2020, 9:05 AM
Parents
rBb5751b122493: Merge pull request #100 from aleksei-burlakov/fix-here-string-delimiter
Branches
Unknown
Tags
Unknown

Event Timeline