Whamcloud - gitweb
build: split version and release in configure
authorAndreas Dilger <adilger@dilger.ca>
Wed, 10 May 2023 04:57:57 +0000 (22:57 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 1 Dec 2023 16:06:26 +0000 (11:06 -0500)
commit1ac0061609c69cc9fe01bd116915632c2bc7c497
tree4af82833feb6348398fa1a49b0e7fb7e6b908975
parent4e16d629e016154139d7429ad84929e280681f3a
build: split version and release in configure

Update configure.ac to separate Version from Release if there is
a '-' in version.h::E2FSPROGS_VERSION (e.g. "1.46.6-rc1").
Otherwise, the '-' in the version can make RPM building unhappy.

Simplify the generation of E2FSPROGS_VERESION, E2FSPROGS_DATE and
E2FSPROGS_DAY to avoid multiple grep/awk/sed/tr stages.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/1683694677-9366-1-git-send-email-adilger@dilger.ca
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.ac
util/gen-tarball.in