Hi all, to silence some of the warnings on the rubygem-krane package I added the following to the gem2rpm.yml file:
:post_install: |- cd %{buildroot}%{_libdir}/ruby/gems/3.3.0/gems/krane-%{version}/ rm -rvf .github rm -vf .gitignore rm -vf .rubocop-http---shopify-github-io-ruby-style-guide-rubocop-yml rm -vf .rubocop.yml sed -i 's|usr/bin/env bash|usr/bin/bash|g' bin/setup sed -i 's|usr/bin/env bash|usr/bin/bash|g' dev/flamegraph-from-tests
https://build.opensuse.org/package/view_file/home:ojkastl_buildservice:Branc...
This works, but obviously only for one ruby version. Is there a convenient macro for this? I failed to find one... Or is there a wrapper macro like the python expand macro, that executes something with each ruby version that is being built? Kind Regards, Johannes