Marcus Rückert 2022-11-24 16:12:41 +00:00 committed by Git OBS Bridge
parent 496ae98dc5
commit 90d0cd081f
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 24 16:05:11 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- remove the bundled gems workaround
-------------------------------------------------------------------
Thu Nov 17 12:02:15 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -301,11 +301,6 @@ find sample -type f -perm /a=x -ls -exec chmod a-x \{\} \+
# replace "/usr/bin/env ruby" and "/usr/local/bin/ruby" with correct path
grep -Erl '^#! */.*ruby' benchmark bootstraptest ext lib sample test \
| xargs -r perl -p -i -e 's|^#!\s*\S+\s*ruby\S*(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|'
# workaround for https://bugs.ruby-lang.org/issues/18373
find .bundle -name extconf.rb -exec \
sed -i \
-e '/create_makefile/i \$arch_hdrdir = "$(hdrdir)/../.ext/include/$(arch)"' \
-e '/create_makefile/i \$DLDFLAGS << " -L#{$top_srcdir}"' {} \;
%build
export LANG="en_US.UTF-8"