diff --git a/rubygem-activesupport.spec b/rubygem-activesupport.spec index a0f544dbc753dd6a11da4778142e0d12803e2d3b..b2e2635c7b76b2b3fb31ad031135836ceb20fab6 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: 4 +Release: 5 Summary: A support libraries and Ruby core extensions extracted from the Rails framework License: MIT URL: http://rubyonrails.org @@ -59,13 +59,15 @@ done sed -i '/def test_iso8601_output_and_reparsing$/,/^ end$/ s/^/#/' test/core_ext/duration_test.rb sed -i '/assert_nil mapped\[:b\]/ s/^/#/' test/core_ext/hash/transform_values_test.rb sed -i '/require .bundler./ s/^/#/' test/abstract_unit.rb -memcached & +if [ `whoami` = "root" ]; then + memcached -u root & +else + memcached & +fi mPID=$! sleep 1 ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' -if [ ps -p $mPID > /dev/null ]; then - kill -15 $mPID -fi +kill -15 $mPID popd %files @@ -81,6 +83,9 @@ popd %doc %{gem_instdir}/README.rdoc %changelog +* Fri Mar 10 2023 caodongxia - 1:6.1.4.1-5 +- Rectify the failure to start memcached as the root user + * Thu Mar 9 2023 caodongxia - 1:6.1.4.1-4 - Fix the self-compilation problem