> we can use : rpmbuild --without check

This can be added very easy by place in global macros single line modification
```spec
# Add handle --{with|without} check
%__spec_check_pre \
        %{!?with_check:echo "%%check disabled."; exit 0} \
        %{___build_pre}
```
Than you can place in spec file:
```spec
%bcond_with   check
```
to disable %check.
I'm using that hack +3 years.

Do you want this as PR? 🤔 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/316#issuecomment-1900766922
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/316/1900766...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to