Hi everyone,
On F33 'make dist-brew DIST=.eln' fails on the os-build branch with
Wrote:
/home/prarit/git-kernel/kernel-ark/redhat/rpm/SRPMS/kernel-5.11.0-0.rc2.114.test.eln.src.rpm
brew build --scratch rhel-8.99.0-test-pesign
/home/prarit/git-kernel/kernel-ark/redhat/rpm/SRPMS/kernel-5.11.0-0.rc2.114.test.eln.src.rpm
Usage: brew build [options] <target> <srpm path or scm url>
The first option is the build target, not to be confused with the destination
tag (where the build eventually lands) or build tag (where the buildroot
contents are pulled from).
You can list all available build targets using the 'brew list-targets' command.
More detail can be found in the documentation.
https://docs.pagure.org/koji/HOWTO/#package-organization
(Specify the --help global option for a list of other help options)
brew: error: Unknown build target: rhel-8.99.0-test-pesign
make[1]: *** [Makefile:360: dist-brew] Error 2
make[1]: Leaving directory '/home/prarit/git-kernel/kernel-ark/redhat'
make: *** [makefile:12: dist-brew] Error 2
The brew target is generated in redhat/Makefile.common as
ifeq ("$(DIST)", ".elrdy")
BUILD_SCRATCH_TARGET ?= temp-ark-rhel-8-test
else ifeq ("$(IS_FEDORA)", "1")
BUILD_SCRATCH_TARGET ?= temp-ark-rhel-8-test
else
BUILD_SCRATCH_TARGET ?= rhel-$(RHEL_MAJOR).$(RHEL_MINOR).0-test-pesign
endif
and RHEL_MAJOR and RHEL_MINOR are defined in Makefile.rhelver as
RHEL_MAJOR = 8
RHEL_MINOR = 99
Is there a better option for the BUILD_SCRATCH_TARGET for .eln? Perhaps, like
fedora, the target should also be temp-ark-rhel-8-test?
P.