[Rpm-maint] [rpm-software-management/rpm] RFE: add way to set macro for --nocheck in rpmbuild (#316)
Tomasz Kłoczko
notifications at github.com
Fri Jan 19 18:44:45 UTC 2024
> ```spec
> # Add handle --{with|without} check
> %__spec_check_pre \
> %{!?with_check:echo "%%check disabled."; exit 0} \
> %{___build_pre}
> ```
Actually this is not all. It needs to be added default value of the %with_check. So wole solution has two additional lines.
```spec
# Add handle --{with|without} check
%with_check 1
%__spec_check_pre \
%{!?with_check:echo "%%check disabled."; exit 0} \
%{___build_pre}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/316#issuecomment-1900926087
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/316/1900926087 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240119/b8414318/attachment-0001.html>
More information about the Rpm-maint
mailing list