diff --git a/rubygem-actioncable.spec b/rubygem-actioncable.spec index d6261cb8af7b62419c2824de385edda1a08960c4..889c58e3c733f0866f2f852b773dfcd64a20b8af 100644 --- a/rubygem-actioncable.spec +++ b/rubygem-actioncable.spec @@ -1,9 +1,11 @@ %global gem_name actioncable -%global recompile_js 1 +# because the CoffeScript was replaced by ES2015 modules: +# https://github.com/rails/rails/pull/34177 +%global recompile_js 0 Name: rubygem-%{gem_name} Version: 7.0.7 -Release: 1 +Release: 2 Summary: WebSocket framework for Rails License: MIT URL: http://rubyonrails.org @@ -62,6 +64,7 @@ Documentation for %{name}. %build %if 0%{?recompile_js} > 0 cp -a %{SOURCE3} . +test -d lib/assets/compiled rm -rf lib/assets/compiled RUBYOPT=-Ilib ruby recompile_js.rb %endif @@ -100,6 +103,10 @@ popd %doc %{gem_instdir}/README.md %changelog +* Mon Aug 25 2025 yaoxin <1024769339@qq.com> - 7.0.7-2 +- Disable JS recompilation, because it does not do anything useful ATM apart + from unnecessarily pulling in CoffeeScript. + * Thu Aug 17 2023 xu_ping <707078654@qq.com> - 7.0.7-1 - Upgrade to version 7.0.7