Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2022-12-07 Thread Sérgio Basto
> One way to fix this could be extending bcond_with and bcond_without to > %undefine the with_ macro in the else case. That way the defaults could be > overwritten by later lines. This sounds a bit like a bad feature to advertise > to packagers but may be ok for this. yeah that is other problem

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2021-02-14 Thread FaramosCZ
@ffesti Any update here? I think this can be beneficial e.g. during the Mass Rebuilds. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1256#issuecomment-778909133___

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-08-19 Thread Panu Matilainen
@pmatilai requested changes on this pull request. See above. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1256#pullrequestreview-470197533_

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-10 Thread Panu Matilainen
Yeah this needs to interact with both _with_check and _without_check, and not add semantics to %_without_check value. And for that, it'd seem that we need to parse the spec before fiddling with these values as otherwise we can't know about bcond's set in the spec. It also needs a better commit s

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-08 Thread torsava
> I think this should set _with_check unless _without_check is defined already. > Basically to have `%bcond_without check` by default without having to put it > in all spec files. But still need to make sure that somebody defines > `%bcond_without check`, this code won't override it. That would

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-08 Thread torsava
I would like to avoid `nocheck`, because the common way to conditinalize would be `%if %{without nocheck}` and that's just confusing to read. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-ma

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-08 Thread Florian Festi
May be the macro should be renamed to not collide with the with/without mechanism. The bcond mechnism assumes that the actual value is not set as a macro but only on the command line and is basically read only within the spec. If you set the macro itself having two of them can lead to the awkwar

Re: [Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-07 Thread Igor Raits
I think this should set _with_check unless _without_check is defined already. Basically to have `%bcond_without check` by default without having to put it in all spec files. But still need to make sure that somebody defines `%bcond_without check`, this code won't override it. -- You are receiv

[Rpm-maint] [rpm-software-management/rpm] Add _without_check macro (#1256)

2020-06-05 Thread Florian Festi
signaling and controling whether %check is executed during build. The macro can be set globally or in the spec file. The --nocheck parameter of rpmbuild takes precedence, though. If --nocheck is passed to rpmbuild the macro set accordingly. Otherwise it is set to 0 if not defined previously. Resol