fix build fail

This commit is contained in:
lyn1001 2020-09-05 18:39:39 +08:00
parent 437656be6f
commit f23ecc6a66

View File

@ -1,3 +1,4 @@
%global gem_name railties
%bcond_with test
%{?_with_bootstrap: %global bootstrap 1}
%global bootstrap 1
@ -9,6 +10,9 @@ License: MIT
URL: http://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/rails/rails/archive/v%{version}.tar.gz
# Check value of result.source_location in
# test_unit/reporter.rb#format_rerun_snippet
# https://github.com/rails/rails/pull/32297
Patch0: rubygem-railties-5.1.5-check-value-of-result-source-location.patch
Suggests: %{_bindir}/sqlite3
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(actioncable) = %{version}