From: Prarit Bhargava <prarit(a)redhat.com>
redhat/koji/Makefile: Remove Makefile.common dependency
Hardcode "kernel" and remove the Makefile.common dependency.
There is no behaviour change introduced with this change and is a first
step in the de-spaghettification of Makefile.common. If deemed necessary,
we can always add the dependency back at a later date.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/koji/Makefile b/redhat/koji/Makefile
index blahblah..blahblah 100644
--- a/redhat/koji/Makefile
+++ b/redhat/koji/Makefile
@@ -17,8 +17,6 @@
# set it with - git notes --ref buildid -m ".buildid" HEAD
######################################################################
-include ../Makefile.common
-
notes:
$(GIT) fetch --force origin refs/notes/*:refs/notes/*
@@ -29,8 +27,8 @@ sources: buildid
echo $(BUILDID) > ../../localversion
$(MAKE) -C ../ dist-sources
mv -f ../rpm/SOURCES/* .
- rm -f ./$(PACKAGE_NAME).spec
- mv ../rpm/SPECS/$(PACKAGE_NAME).spec .
+ rm -f ./kernel.spec
+ mv ../rpm/SPECS/kernel.spec .
test: buildid
echo $(BUILDID)
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1637