diff --git a/ffi-1.15.5.gem b/ffi-1.15.5.gem new file mode 100644 index 0000000000000000000000000000000000000000..1edfa115f8c28d55540979b65ea4a52f25bbce82 Binary files /dev/null and b/ffi-1.15.5.gem differ diff --git a/obs-bundled-gems.spec b/obs-bundled-gems.spec index 21d5a2e1215c370aee32feda9f852257d17e4137..2df25c59dfbb5fab33fa7dd61fd817c7e824fc91 100644 --- a/obs-bundled-gems.spec +++ b/obs-bundled-gems.spec @@ -20,7 +20,7 @@ %global ruby_version 3.2.0 Name: obs-bundled-gems Version: 2.10.15 -Release: 8 +Release: 9 Summary: The Open Build Service -- Bundled Gems License: GPL-2.0-only OR GPL-3.0-only URL: http://www.openbuildservice.org @@ -28,6 +28,9 @@ Source0: Gemfile Source1: Gemfile.lock Source2: verdor.obscpio BuildRequires: cyrus-sasl-devel mysql-devel nodejs openldap-devel python3-devel + +# https://rubygems.loongnix.cn/gems/ffi-1.15.5.gem +Source5: ffi-1.15.5.gem BuildRequires: gcc gcc-c++ glibc-devel libtool libxml2-devel libxslt-devel BuildRequires: ruby-devel rubygem-bundler ruby-common make @@ -72,6 +75,12 @@ if [ ! -f verdor.obscpio ]; then find ./vendor/cache | cpio -o -H newc > %{_sour if [ -d vendor ]; then rm -rf vendor; fi cpio -idvm < verdor.obscpio cd - + +arch=`uname -m` +if [ $arch == 'loongarch64' ];then + cp %{SOURCE5} %{_sourcedir}/vendor/cache/ +fi + export QA_SKIP_BUILD_ROOT=1 # copy gem files into cache mkdir -p vendor/cache @@ -136,6 +145,9 @@ done %doc README %changelog +* Wed May 15 2024 Wenlong Zhang - 2.10.15-9 +- add loongarch64 support for obs-bundled-gems + * Tue Aug 29 2023 liyanan - 2.10.15-8 - Replace Gemfile with commit de86991072b9457dd7d12dee129aef8326829935