Adjust patches for ruby4_0

This commit is contained in:
Mamoru TASAKA 2025-11-08 23:52:12 +09:00
commit 9a38d4fa8f
3 changed files with 6 additions and 3 deletions

View file

@ -8,4 +8,4 @@
+$CFLAGS = "#{$CFLAGS} " + case RUBY_VERSION
when /^1\.9/; '-DRUBY19'
when /^2\./; '-DRUBY19'
when /^3\./; '-DRUBY19 -DRUBY30'
when /^[34]\./; '-DRUBY19 -DRUBY30'

View file

@ -18,7 +18,7 @@ index d17f926..04f8f97 100644
when /^1\.9/; '-DRUBY19'
when /^2\./; '-DRUBY19'
- when /^3\./; '-DRUBY19'
+ when /^3\./; '-DRUBY19 -DRUBY30'
+ when /^[34]\./; '-DRUBY19 -DRUBY30'
else; ''
end

View file

@ -2,7 +2,7 @@
Name: rubygem-%{gem_name}
Version: 2.5.1
Release: 12%{?dist}
Release: 13%{?dist}
Summary: Ruby shadow password module
License: LicenseRef-Fedora-UltraPermissive OR Unlicense
URL: https://github.com/apalmblad/ruby-shadow
@ -86,6 +86,9 @@ popd
%doc %{gem_instdir}/README.euc
%changelog
* Sat Nov 08 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.1-13
- Adjust patches for ruby4_0
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild