The situation is I want to add conditional macro to control bootstrap. Because I want to create RSpec modularity, and want to control bootstrap from modulemd file macro. But the rpms/rubygem-rspec-core owner does not like adding the conditional macro. The reason makes sense to me. And I want to respect his opinion.
https://src.fedoraproject.org/rpms/rubygem-rspec-core/pull-request/1
%{?_with_bootstrap: %global bootstrap 1} Actually I never like this approach, because I cannot check what build option or so is used for the binary rpm by checking the srpm afterwards.
%{?_with_bootstrap: %global bootstrap 1}
Actually I never like this approach, because I cannot check what build option or so is used for the binary rpm by checking the srpm afterwards.
The solution is
What do you think?
fiddling with changing spec files in sed-way is always calling for trouble..
This also makes sense. So, the solution 1. is fine for you? I have no idea for other solutions.
Login to comment on this ticket.