Hi,

For a rubygem-wdm [1] we need to remove some .c and .h files included
in the original gem file. I tried to remove them using the
post_install section of the gem2rpm.yml file:

post_install: |-
    rm -rf %{buildroot}%{gem_base}/gems/%{mod_full_name}/ext

However, that works only for 1 version of ruby, and since TW contains
both 2.4 and 2.5 only removes the 2.4 version.

How can I remove the ext directory for all ruby versions the gem is
packaged for?

Thanks,

Robert

[1]: https://build.opensuse.org/request/show/516918
[2]: 
https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-wdm

-- 
http://robert.muntea.nu/
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to