Skip to content

Commit

Permalink
Fix ruby-ldap-0.9.20 gem building
Browse files Browse the repository at this point in the history
It needs a patched gem that we're providing in order to build successfully.
  • Loading branch information
danidoni committed Oct 28, 2024
1 parent 35dabbd commit 44932fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/obs-bundled-gems.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Name: obs-bundled-gems
Version: 2.10~pre
Release: 0
Summary: The Open Build Service -- Bundled Gems
# patched gem with the fies from devel:languages:ruby:extensions
Source0: ruby-ldap-0.9.20.gem
# The actual license is from the gems, but we take a more restrictive
# license to bundle them. Most are MIT anyway (TODO for Ana: check)
License: GPL-2.0-only OR GPL-3.0-only
Expand Down Expand Up @@ -127,6 +129,7 @@ bundle config build.sassc --disable-march-tune-native
bundle config build.nio4r --with-cflags='%{optflags} -Wno-return-type'
bundle config force_ruby_platform true
bundle config set --local path %{buildroot}%_libdir/obs-api/
cp %{S:0} %{_sourcedir}/open-build-service-*/src/api/vendor/cache

bundle install --local
popd
Expand Down

0 comments on commit 44932fd

Please sign in to comment.