lkml.org 
[lkml]   [2022]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2023-03-26 23:22    [W:0.070 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site