Messages in this thread | | | From | Masahiro Yamada <> | Date | Thu, 29 Dec 2022 13:11:40 +0900 | Subject | Re: [PATCH next v2] kbuild: add ability to make source rpm buildable using koji |
| |
On Mon, Dec 26, 2022 at 10:41 PM Alexander Gordeev <agordeev@linux.ibm.com> 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@kernel.org/
-- Best Regards Masahiro Yamada
| |