From: Prarit Bhargava on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1636#note_8602...
Thanks for the feedback on this. I badly assumed there had been a model
change but with the information I see that the test was actually trying to
correctly report a bug.
Here's the reason this happens.
redhat/Makefile:337 tags the builds with
$(STAMP_VERSION)-$(PREBUILD)$(BUILD)$(BUILDID)
which resolves to $(KVERSION)-$(PREBUILD)$(BUILD)$(BUILDID)
and
redhat/genspec.sh:38 tags the changelog with "$RPMVERSION-$PKGRELEASE"
which resolves to ${KVERSION}.${KPATCHLEVEL}-$(PREBUILD)$(BUILD)$(BUILDID)
ie) ${KPATCHLEVEL} is left out of the build tag. I think STAMP_VERSION
can also be dropped and $(KVERSION) used.
I can fix this, but I'd like to fix this after we consider !1638 which I'm
about to set as ready for review.