From: Ben Crocker <bcrocker@xxxxxxxxxx> Makefile targets for packit integration * dist-tarball * dist-kernelrelease * dist-kernelversion * dist-specfile dist-tarball echoes the path to the tarball, starting with redhat/. dist-kernelrelease echoes the kernel release string; dist-kernelversion echoes a full version string, and is meant to provide a finer granularity than dist-kernelrelease. dist-specfile (possibly) invokes setup-source, then echoes a path to the (possibly newly-generated) specfile. Signed-off-by: Ben Crocker <bcrocker@xxxxxxxxxx> diff a/redhat/Makefile b/redhat/Makefile --- a/redhat/Makefile +++ b/redhat/Makefile @@ -200,6 +200,18 @@ $(KABIDW_TARBALL): @(cd kabi-dwarf && tar cjf $(SOURCES)/$(KABIDW_TARFILE) base run_kabi-dw.sh) +dist-tarball: $(TARBALL) + @echo "redhat/$(TARFILE)" + +dist-kernelrelease: + @echo $(PACKAGE_NAME)-$(KVERSION)-$(BUILD) + +dist-kernelversion: + @echo $(PACKAGE_NAME)-$(KVERSION)-$(DISTRO_BUILD) + +dist-specfile: setup-source + @echo $(SOURCES)/$(SPECFILE) + dist-git-version-check: @# genspec.sh uses pathspec magic that wasn't introduced until version 2.13 @IFS=" ."; \ -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/800 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx