On Mon, Dec 26, 2022 at 10:41 PM Alexander Gordeev <agordeev@xxxxxxxxxxxxx> wrote: > > On Mon, Nov 21, 2022 at 09:48:45AM -0500, Jonathan Toppins wrote: > > Hi Jonathan, Ivan et al, > > This patch causes a regression on 6.2-rc1 when rpm-pkg target > is specified on non-rpm system (i.e s390 running Ubuntu). The > offending chunk is: > > > @@ -49,6 +51,9 @@ sed -e '/^DEL/d' -e 's/^\t*//' <<EOF > > URL: https://www.kernel.org > > $S Source: kernel-$__KERNELRELEASE.tar.gz > > Provides: $PROVIDES > > +$S BuildRequires: bc binutils bison dwarves elfutils-libelf-devel flex > > +$S BuildRequires: gcc make openssl openssl-devel perl python3 rsync > > + > > # $UTS_MACHINE as a fallback of _arch in case > > # /usr/lib/rpm/platform/*/macros was not included. > > %define _arch %{?_arch:$UTS_MACHINE} $ make RPMOPTS=--nodeps rpm-pkg works for me. FWIW: https://lore.kernel.org/lkml/20221228191014.659746-1-masahiroy@xxxxxxxxxx/ -- Best Regards Masahiro Yamada