On 02/21/2018 11:04 AM, Stefan Schubert wrote:
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
You may want to take a look at the portus project, in Virtualization:containers:Portus. We built portus for ruby2.5 even on distros which was not available or the default one. Look at the portus package and at the project configuration. It took us some time to figure out all the configuration details. We based our work on this other project https://build.opensuse.org/package/show/home:darix:apps/discourse It could also be helpful. I hope this helps jordi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org