Created
June 29, 2021 11:23
-
-
Save pvalena/09a0b3e2084431d7e5eba78d42af064c 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 951b6e4a4fbf7d3e837137d4d69312835f62c577 | |
Author: Pavel Valena <pvalena@redhat.com> | |
Date: Fri May 7 00:56:20 2021 +0200 | |
Update to i18n 1.8.10. | |
Resolves: rhbz#1923812 | |
diff --git a/rubygem-i18n.spec b/rubygem-i18n.spec | |
index 0a47eba..2959cae 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: 2%{?dist} | |
+Version: 1.8.10 | |
+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 | |
+* Thu May 06 2021 Pavel Valena <pvalena@redhat.com> - 1.8.10-1 | |
+- Update to i18n 1.8.10. | |
+ Resolves: rhbz#1923812 | |
+ | |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-2 | |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_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'. | |
nothing to commit (use -u to show untracked files) | |
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: 2307280 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment