- Update rb_arch_short macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby3.2?expand=0&rev=12
This commit is contained in:
Marcus Rückert 2022-12-06 12:53:56 +00:00 committed by Git OBS Bridge
parent 533a476f56
commit 677419ddcb
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,11 @@ Tue Dec 6 10:48:43 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.2.0~rc1
https://www.ruby-lang.org/en/news/2022/12/06/ruby-3-2-0-rc1-released/
-------------------------------------------------------------------
Mon Dec 5 09:12:11 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Update rb_arch_short macro
-------------------------------------------------------------------
Fri Dec 2 13:48:19 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -52,7 +52,7 @@ Release: 0
# keep in sync with macro file!
%global rb_ver %{api_version}
%global rb_arch %(echo %{_target_cpu}-linux-gnu | sed -e "s/ppc/powerpc/")
%global rb_arch_short %(echo %{_target_cpu}-linux | sed -e "s/ppc/powerpc/ ; s/i[0-9]86/x86/")
%global rb_arch_short %(echo %{_target_cpu}-linux-gnu | sed -e "s/ppc/powerpc/ ; s/i[0-9]86/x86/")
%global rb_libdir %{_libdir}/ruby/%{rb_ver}/
%global rb_archdir %{_libdir}/ruby/%{rb_ver}/%{rb_arch}
%global rb_extdir %{_libdir}/ruby/gems/%{rb_ver}/extensions/