diff --git a/ruby-shadow-2.5.1-cflags.patch b/ruby-shadow-2.5.1-cflags.patch index 6c0a474..830334d 100644 --- a/ruby-shadow-2.5.1-cflags.patch +++ b/ruby-shadow-2.5.1-cflags.patch @@ -8,4 +8,4 @@ +$CFLAGS = "#{$CFLAGS} " + case RUBY_VERSION when /^1\.9/; '-DRUBY19' when /^2\./; '-DRUBY19' - when /^[34]\./; '-DRUBY19 -DRUBY30' + when /^3\./; '-DRUBY19 -DRUBY30' diff --git a/ruby-shadow-2.5.1-taintedness-ruby32-removal.patch b/ruby-shadow-2.5.1-taintedness-ruby32-removal.patch index 737f08b..1a9b09e 100644 --- a/ruby-shadow-2.5.1-taintedness-ruby32-removal.patch +++ b/ruby-shadow-2.5.1-taintedness-ruby32-removal.patch @@ -18,7 +18,7 @@ index d17f926..04f8f97 100644 when /^1\.9/; '-DRUBY19' when /^2\./; '-DRUBY19' - when /^3\./; '-DRUBY19' -+ when /^[34]\./; '-DRUBY19 -DRUBY30' ++ when /^3\./; '-DRUBY19 -DRUBY30' else; '' end diff --git a/rubygem-ruby-shadow.spec b/rubygem-ruby-shadow.spec index 4d9b04a..346f6ca 100644 --- a/rubygem-ruby-shadow.spec +++ b/rubygem-ruby-shadow.spec @@ -2,9 +2,9 @@ Name: rubygem-%{gem_name} Version: 2.5.1 -Release: 14%{?dist} +Release: 9%{?dist} Summary: Ruby shadow password module -License: LicenseRef-Fedora-UltraPermissive OR Unlicense +License: Public Domain URL: https://github.com/apalmblad/ruby-shadow Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: https://raw.githubusercontent.com/apalmblad/ruby-shadow/master/test/basic_test.rb @@ -86,21 +86,6 @@ popd %doc %{gem_instdir}/README.euc %changelog -* Thu Jan 08 2026 Mamoru TASAKA - 2.5.1-14 -- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_4.0 - -* Sat Nov 08 2025 Mamoru TASAKA - 2.5.1-13 -- Adjust patches for ruby4_0 - -* Fri Jul 25 2025 Fedora Release Engineering - 2.5.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jan 18 2025 Fedora Release Engineering - 2.5.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jan 08 2025 Mamoru TASAKA - 2.5.1-10 -- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.4 - * Fri Jul 19 2024 Fedora Release Engineering - 2.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild