Re: [Rpm-maint] [rpm-software-management/rpm] move custom definition of the %__spec_check_pre from spec file to global macros causes not the same result (Issue #2862)

2024-01-21 Thread Panu Matilainen
@pmatilai converted this issue into discussion #2864. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2862#event-11552920204 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] move custom definition of the %__spec_check_pre from spec file to global macros causes not the same result (Issue #2862)

2024-01-21 Thread Tomasz Kłoczko
Sorry Actual behaviour is different. When I've executed above commands I've already had changed `%__spec_check_pre` in /usr/lib/rpm/redhat/macros. Result with defined %bcond_with ```spec %bcond_with check Summary:bcond test Name: test Version:1 Release:1

[Rpm-maint] [rpm-software-management/rpm] move custom definition of the %__spec_check_pre from spec file to global macros causes not the same result (Issue #2862)

2024-01-21 Thread Tomasz Kłoczko
**Describe the bug** in https://github.com/rpm-software-management/rpm/issues/316#issuecomment-1900766922 I wrote that I'm using +years solution which allows me to disable %check execution by use `%bcond_with check`. What I'm using is not exactly what I've proposed in next comment. What I'm