From: Justin M. Forbes <[email protected]>

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 <[email protected]>

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
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to