Created
January 25, 2022 22:50
-
-
Save pvalena/6523fa0f4e34cd21c243c411e6f00baa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4 | |
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112. | |
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4 | |
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112. | |
commit e705e2c199df245b5496597b5e0e4891bbaef7ad | |
Author: Pavel Valena <pvalena@redhat.com> | |
Date: Fri May 7 00:56:20 2021 +0200 | |
Update to i18n 1.8.11. | |
Resolves: rhbz#1923812 | |
diff --git a/rubygem-i18n.spec b/rubygem-i18n.spec | |
index 5ee0d41..d7ac4f8 100644 | |
--- a/rubygem-i18n.spec | |
+++ b/rubygem-i18n.spec | |
@@ -3,8 +3,8 @@ | |
%bcond_without tests | |
Name: rubygem-%{gem_name} | |
-Version: 1.8.7 | |
-Release: 4%{?dist} | |
+Version: 1.8.11 | |
+Release: 1%{?dist} | |
Summary: New wave Internationalization support for Ruby | |
# `BSD or Ruby` due to header of lib/i18n/gettext/po_parser.rb | |
License: MIT and (BSD or Ruby) | |
@@ -12,7 +12,7 @@ URL: https://github.com/ruby-i18n/i18n | |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem | |
# Since 1.8.2 tests are not shipped with the gem, but can be checked like | |
# git clone --no-checkout https://github.com/ruby-i18n/i18n | |
-# cd i18n && git archive -v -o i18n-1.8.7-tests.txz v1.8.7 test | |
+# cd i18n && git archive -v -o i18n-1.8.10-tests.txz v1.8.10 test | |
Source1: %{gem_name}-%{version}-tests.txz | |
BuildRequires: ruby | |
BuildRequires: ruby(release) | |
@@ -58,9 +58,15 @@ ln -s %{_builddir}/test . | |
# Bundler just complicates everything in our case, remove it. | |
sed -i -e "/require 'bundler\/setup'/ s/^/#/" test/test_helper.rb | |
+# Mocha needs to be required differently | |
+# TODO: PR @ https://github.com/ruby-i18n/i18n/edit/master/test/test_helper.rb#L16 | |
+sed -i 's/\(require .mocha\/\)setup/\1minitest/' test/test_helper.rb | |
+ | |
# Tests are failing without LANG environment is set. | |
# https://github.com/svenfuchs/i18n/issues/115 | |
-LANG=C.utf8 ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' | |
+LANG=C.utf8 \ | |
+find ./test/ -type f -name '*_test.rb' -exec \ | |
+ ruby -Ilib:test '{}' \; | |
popd | |
%endif | |
@@ -76,6 +82,10 @@ popd | |
%doc %{gem_instdir}/README.md | |
%changelog | |
+* Tue Jan 25 2022 Pavel Valena <pvalena@redhat.com> - 1.8.11-1 | |
+- Update to i18n 1.8.11. | |
+ Resolves: rhbz#1923812 | |
+ | |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-4 | |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild | |
diff --git a/sources b/sources | |
index 84b9ca3..5e1ae7a 100644 | |
--- a/sources | |
+++ b/sources | |
@@ -1,2 +1,2 @@ | |
-SHA512 (i18n-1.8.7.gem) = 7ba13116467a6d45ed6e05a6ea73d0c05127d16652baf4f448e11011bf53227214bdc36d345f5fe57f2a63d1281e66171ec30e89782be5722cb9f06a75c76385 | |
-SHA512 (i18n-1.8.7-tests.txz) = 4e353f231373b58764004b5699c2c20625dd259effaff5505fd83928363c479f9f7ede45f28020af965eb49bfea70400b897512afbd4f534b79408873e21f20b | |
+SHA512 (i18n-1.8.10.gem) = 1b1badd8741a2789699809531cfa09ac43a5cd4a863c7be520d4aa03e44377cb0d9456487aeae0981892fba4d312ad1a1327658b86bb606a8c3d40a6ec0d1c87 | |
+SHA512 (i18n-1.8.10-tests.txz) = 32529a44526916e9abfeebd2e200704de1017e31ed82f65bcc472daca6ae17ce4ccc189889a331018a865f449d82f8e56473f0d5472f35da65b8bc85168f72ee | |
On branch rebase | |
Your branch is up to date with 'pvalena/rebase'. | |
Changes not staged for commit: | |
(use "git add <file>..." to update what will be committed) | |
(use "git restore <file>..." to discard changes in working directory) | |
modified: rubygem-i18n.spec | |
modified: sources | |
no changes added to commit (use "git add" and/or "git commit -a") | |
Everything up-to-date | |
Branch 'rebase' set up to track remote branch 'rebase' from 'pvalena'. | |
> Run copr build. | |
+ scripts/pkgs/cr-build.sh -c -t 30m rubygems | |
Created builds: 3253292 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment