adapt package ruby-ldap due to ruby updated to version 3.2

(cherry picked from commit cedacc5127845f0e4d6259cc20ff28b2b8c750a8)
This commit is contained in:
wang--ge 2023-08-08 16:28:09 +08:00 committed by openeuler-sync-bot
parent 0040ab5ce6
commit c9a6473d8f
6 changed files with 11 additions and 7 deletions

View File

@ -585,4 +585,4 @@ DEPENDENCIES
yajl-ruby yajl-ruby
BUNDLED WITH BUNDLED WITH
2.3.26 2.4.10

View File

@ -585,4 +585,4 @@ DEPENDENCIES
yajl-ruby yajl-ruby
BUNDLED WITH BUNDLED WITH
2.3.26 2.4.10

View File

@ -586,4 +586,4 @@ DEPENDENCIES
yajl-ruby yajl-ruby
BUNDLED WITH BUNDLED WITH
2.3.26 2.4.10

View File

@ -585,4 +585,4 @@ DEPENDENCIES
yajl-ruby yajl-ruby
BUNDLED WITH BUNDLED WITH
2.3.26 2.4.10

View File

@ -17,10 +17,10 @@
%global rake_version 13.0.6 %global rake_version 13.0.6
%global rack_version 2.2.3 %global rack_version 2.2.3
%global ruby_version 3.1.0 %global ruby_version 3.2.0
Name: obs-bundled-gems Name: obs-bundled-gems
Version: 2.10.15 Version: 2.10.15
Release: 5 Release: 6
Summary: The Open Build Service -- Bundled Gems Summary: The Open Build Service -- Bundled Gems
License: GPL-2.0-only OR GPL-3.0-only License: GPL-2.0-only OR GPL-3.0-only
URL: http://www.openbuildservice.org URL: http://www.openbuildservice.org
@ -111,7 +111,8 @@ test -f %{buildroot}%_libdir/obs-api/ruby/%{ruby_version}/gems/rack-%{rack_versi
# work around sassc bug - and install libsass # work around sassc bug - and install libsass
sassc_dir=$(ls -1d %{buildroot}%_libdir/obs-api/ruby/%{ruby_version}/gems/sassc-2*) sassc_dir=$(ls -1d %{buildroot}%_libdir/obs-api/ruby/%{ruby_version}/gems/sassc-2*)
install -D -m 755 $sassc_dir/ext/libsass.so $sassc_dir/lib/sassc libpath=`find %{buildroot} -name libsass.so`
install -D -m 755 $libpath $sassc_dir/lib/sassc
sed -i -e 's,/ext/libsass,,' $sassc_dir/lib/sassc/native.rb sed -i -e 's,/ext/libsass,,' $sassc_dir/lib/sassc/native.rb
# Remove sources of extensions, we don't need them # Remove sources of extensions, we don't need them
@ -153,6 +154,9 @@ done
%doc README %doc README
%changelog %changelog
* Tue Aug 08 2023 Ge Wang <wang__ge@126.com> 2.10.15-6
- adapt package ruby-ldap due to ruby updated to version 3.2
* Sat Apr 1 2023 Wenlong Zhang <zhangwenlong@loongson.cn> 2.10.16-5 * Sat Apr 1 2023 Wenlong Zhang <zhangwenlong@loongson.cn> 2.10.16-5
- add loongarch64 support for obs-bundle-gems - add loongarch64 support for obs-bundle-gems

Binary file not shown.