[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: Re: Announce: Conditional Build Dependencies per Project
From: Neal Gompa <ngompa13 () gmail ! com>
Date: 2023-02-25 12:26:25
Message-ID: CAEg-Je9SD=puw+d7LdBim5vbLCP5L_-Cz07k_xJ0dBo2X-7oiQ () mail ! gmail ! com
[Download RAW message or body]
On Sat, Feb 25, 2023 at 7:23 AM Jan Engelhardt <jengelh@inai.de> wrote:
>
>
> On Saturday 2023-02-25 11:22, Arjen de Korte wrote:
> >
> > Would it be possible to have rpmlint check for these dependencies and emit a
> > warning if the corresponding %bcond is not found in the specfile?
>
> rpmlint cannot distinguish between
>
> (a) xx is optional and the absence of %bcond_xx is unfortunate
> (b) the absence of %bcond_xx is legit due to
> package hard-requires xx and a conditional build makes no sense
> (c) the absence of %bcond_xx is legit due to
> software not exercising xx at all
Also, as a member of rpmlint upstream, even if it were possible, I
don't want to see it there. If you want checks like that, use a tool
actually *designed* for that. One such example is rpminspect[1].
Overloading rpmlint with all kinds of weird things isn't worth it.
[1]: https://github.com/rpminspect
--
真実はいつも一つ!/ Always, there's only one truth!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic