Re: [PATCH] rpm.eclass: force lzma support for app-arch/rpm
Nicolas PARLANT <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 2026-04-22 10:28, Nicolas PARLANT a écrit : > lzma support is optional for app-arch/rpm since 4.20.0 and not enabled > by default. Given xz-utils is already widely adopted, force lzma > support. > > Bug: https://bugs.gentoo.org/971578 > Bug: https://bugs.gentoo.org/973073 > Signed-off-by: Nicolas PARLANT <[email protected]> > --- > eclass/rpm.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass > index 3b7f9e64355b..4fad092033e5 100644 > --- a/eclass/rpm.eclass > +++ b/eclass/rpm.eclass > @@ -20,7 +20,7 @@ inherit estack > BDEPEND=" > || ( > app-arch/rpm2targz > - >=app-arch/rpm-4.19.0 > + >=app-arch/rpm-4.19.0[lzma(+)] > ) > " For consistency, I guess that adding zstd would be necessary too. Unless enabling lzma by default for rpm is sufficient? As the src_unpack output isn't useful with an unsupported format, I suggest enabling it here. Nicolas P.