When you only want to package for a specific version you can set (add other versions separated by spaces) %define rb_build_versions ruby24 %define rb_default_ruby_abi ruby:2.4.0 And another nice thing I discovered is %define mod_version_suffix -1 which allows appending "-1" at the end of the package name. Best regards, Johannes Am 21.02.2018 um 11:04 schrieb Stefan Schubert:
Hi,
how do I have to setup my project in order to build a package with a defined ruby version (e.g. 2.4)
I have settings in the spec file like:
BuildRequires: rubygem(%{rb_default_ruby_abi}:fast_gettext)
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/*.rb
Thanks and greetings
Stefan
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org