From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Fix typo in Makefile for Fedora Stable Versioning
Commit e9d807ca3424 got rid of the special rhel versioning for Fedora
but I accidentally moved the SNAPSHOT=0 into the not fedora section when
it was added for Fedora to begin with. This resulted in all builds for
stable fedora being debug builds. This just moves it back out where it
belongs.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -219,8 +219,8 @@ ifeq ($(VERSION_ON_UPSTREAM),1)
UPSTREAM_TARBALL_NAME:=$(patsubst v%,%,$(_TAG))
endif
else
+ SNAPSHOT:=0
ifneq ("$(DISTRO)", "fedora")
- SNAPSHOT:=0
_EXACT_TAG:=$(shell $(GIT) describe --exact-match 2>/dev/null)
ifeq ($(_EXACT_TAG),)
_TAG:=$(shell $(GIT) describe 2>/dev/null)
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1856