remove workaround for https://bugs.ruby-lang.org/issues/18373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby3.2?expand=0&rev=7
This commit is contained in:
parent
496ae98dc5
commit
90d0cd081f
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user