Branch: refs/heads/stable1-proposed Home: https://github.com/kronosnet/kronosnet Commit: b02bc941a1c49f941964dae81dd0eb74e3171ad9 https://github.com/kronosnet/kronosnet/commit/b02bc941a1c49f941964dae81dd0eb... Author: Jan Friesse jfriesse@redhat.com Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths: M build-aux/git-version-gen
Log Message: ----------- [build] Fix fallback handling in git-version-gen
When fallback is defined and gitarchive file doesn't exists, use fallback rather than UNKNOWN.
Signed-off-by: Jan Friesse jfriesse@redhat.com
Commit: 9d5a7ce339f39eebae93589e028ff93c2af4fca4 https://github.com/kronosnet/kronosnet/commit/9d5a7ce339f39eebae93589e028ff9... Author: Jan Friesse jfriesse@redhat.com Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths: M Makefile.am
Log Message: ----------- [build] Use git-version-gen during specfile build
Instead of copying parts of git-version-gen for spec target use git-version-gen directly and parse final version into components (rpmver, alphatag, numcomm) and use them.
Main reason is to simplify code a bit (sed scripts are a bit repetitive tho), reuse the code and also allow building of RPM from dist tarball generated from non-tagged commit or dirty git (not very useful).
The code relies on fact, that hyphen is never used in tagged release name.
Signed-off-by: Jan Friesse jfriesse@redhat.com
Compare: https://github.com/kronosnet/kronosnet/compare/3f5d406c783a...9d5a7ce339f3