Created attachment 1239938 [details] Patch for Ruby 2.4.0 compatibility Description of problem: Build failure for target Ruby 2.4. Version-Release number of selected component (if applicable): rubygem-activesupport-5.0.1-1.fc26 How reproducible: Steps to Reproduce: $ fedpkg scratch-build --srpm --target f26-ruby24 https://koji.fedoraproject.org/koji/taskinfo?taskID=17255100 Actual results: Build failed. > 3371 runs, 10164 assertions, 2 failures, 1 errors, 222 skips Expected results: Build success Additional info: I uploaded a patch to fix it. Build is success for both current rawhide (Ruby 2.3) and Ruby 2.4. Scratch build URL (Target: Ruby 2.4): $ fedpkg scratch-build --srpm --target f26-ruby24 https://koji.fedoraproject.org/koji/taskinfo?taskID=17256490 I checked below things. - license check: ok - rpmlint: ok But please take note existed way to patch: `patch -p2 < %{PATCH4}` is not detected by rpmlint. So, I used another way for this kind of case for my patches. ./rubygem-activesupport.spec: W: patch-not-applied Patch4: rubygem-activesupport-5.0.1-Fixnum-and-Bignum-are-deprecated-in-Ruby-trunk-tests.patch - install: ok (I tried it to only current rawhide mock environment.)
Thank you Jun. I applied the patch and build the package in Rawhide.