From 0ec21e084f498118cabc5da195e54382099626d1 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Thu, 9 Mar 2023 20:02:01 +0800 Subject: [PATCH] Fix the self-compilation problem --- rubygem-activesupport.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rubygem-activesupport.spec b/rubygem-activesupport.spec index bc741d2..a0f544d 100644 --- a/rubygem-activesupport.spec +++ b/rubygem-activesupport.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Epoch: 1 Version: 6.1.4.1 -Release: 3 +Release: 4 Summary: A support libraries and Ruby core extensions extracted from the Rails framework License: MIT URL: http://rubyonrails.org @@ -63,7 +63,9 @@ memcached & mPID=$! sleep 1 ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' -kill -15 $mPID +if [ ps -p $mPID > /dev/null ]; then + kill -15 $mPID +fi popd %files @@ -79,6 +81,9 @@ popd %doc %{gem_instdir}/README.rdoc %changelog +* Thu Mar 9 2023 caodongxia - 1:6.1.4.1-4 +- Fix the self-compilation problem + * Tue Feb 21 2023 wushaozheng - 1:6.1.4.1-3 - fix CVE-2023-22796 -- Gitee