From b1d6318f29a156889bff13238986178eee478d19 Mon Sep 17 00:00:00 2001 From: lxpzero Date: Mon, 7 Apr 2025 14:52:54 +0800 Subject: [PATCH] Fix ruby_version_dir macro error --- ruby-2.3.0-ruby_version.patch | 2 +- ruby.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ruby-2.3.0-ruby_version.patch b/ruby-2.3.0-ruby_version.patch index 943a6b6..ec310f1 100644 --- a/ruby-2.3.0-ruby_version.patch +++ b/ruby-2.3.0-ruby_version.patch @@ -114,7 +114,7 @@ index 3b5ea5b..d2bcd22 100644 [vendordir=$withval], [vendordir='${rubylibprefix}/vendor_ruby']) -vendorlibdir='${vendordir}/${ruby_version}' -+vendorlibdir='${vendordir}/${ruby_version_dir}' ++vendorlibdir='${vendordir}'${ruby_version_dir} AC_ARG_WITH(vendorarchdir, AS_HELP_STRING([--with-vendorarchdir=DIR], diff --git a/ruby.spec b/ruby.spec index 006a7fc..a44d103 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global major_version 3 %global minor_version 3 %global teeny_version 7 @@ -1193,6 +1193,9 @@ rm -rf %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.github %{_datadir}/ri %changelog +* Mon Apr 07 2025 Xiaoping Liu - 3.3.7-2 +- Fix ruby_version_dir macro error + * Thu Mar 20 2025 Xiaoping Liu - 3.3.7-1 - update to 3.3.7 from 3.3.6 - Migrated to SPDX license -- Gitee