Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Pavel Valena
d4a62b64c2 Update to activesupport 7.0.8
also add tzdata dependency for tests.

& Add tzdata as runtime dependency

otherwise we get a lot of build failures in other packages.

Caused by:
https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
2023-09-29 17:15:49 +02:00
2 changed files with 18 additions and 7 deletions

View file

@ -4,8 +4,8 @@
Name: rubygem-%{gem_name}
Epoch: 1
Version: 7.0.7.2
Release: 1%{?dist}
Version: 7.0.8
Release: 2%{?dist}
Summary: A support libraries and Ruby core extensions extracted from the Rails framework
License: MIT
URL: http://rubyonrails.org
@ -13,12 +13,12 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
# The activesupport gem doesn't ship with the test suite.
# You may check it out like so
# git clone http://github.com/rails/rails.git
# cd rails/activesupport && git archive -v -o activesupport-7.0.7.2-tests.txz v7.0.7.2 test/
# cd rails/activesupport && git archive -v -o activesupport-7.0.8-tests.txz v7.0.8 test/
Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
# The tools are needed for the test suite, are however unpackaged in gem file.
# You may get them like so
# git clone http://github.com/rails/rails.git --no-checkout
# cd rails && git archive -v -o rails-7.0.7.2-tools.txz v7.0.7.2 tools/
# cd rails && git archive -v -o rails-7.0.8-tools.txz v7.0.8 tools/
Source2: rails-%{version}%{?prerelease}-tools.txz
# Fixes for Minitest 5.16+
# https://github.com/rails/rails/pull/45380
@ -32,6 +32,10 @@ Patch3: rubygem-activesupport-7.0.2.3-Fix-tests-for-minitest-5.16.patch
Requires: rubygem(bigdecimal)
Requires: rubygem(json)
# Runtime dependency, lot of build failures in other packages.
# https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
Requires: tzdata
# Let's keep Requires and BuildRequires sorted alphabeticaly
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
@ -49,6 +53,7 @@ BuildRequires: rubygem(listen)
BuildRequires: rubygem(redis)
BuildRequires: rubygem(rexml)
BuildRequires: memcached
BuildRequires: tzdata
BuildArch: noarch
@ -132,6 +137,12 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Sun Sep 24 2023 Pavel Valena <pvalena@redhat.com> - 1:7.0.8-2
- Add tzdata as a runtime dependency.
* Sun Sep 10 2023 Pavel Valena <pvalena@redhat.com> - 1:7.0.8-1
- Update to activesupport 7.0.8.
* Mon Aug 28 2023 Pavel Valena <pvalena@redhat.com> - 1:7.0.7.2-1
- Update to activesupport 7.0.7.2.

View file

@ -1,3 +1,3 @@
SHA512 (activesupport-7.0.7.2.gem) = afad2479aa9039e45420338765aeba9d959b904e8154faa73e94c730ce52c6747be21a2d91cb4a4371851233eaeba5f9dfe4c5bb246ca8529ff3b1170036a86f
SHA512 (activesupport-7.0.7.2-tests.txz) = 21d95541fd9cd76afbc8a8d57edaa914ae7f1f372851e2112bf1e725a00ebba80bf0ef3abfa6ccc190044ba5c314d40e149518b95ab8c5552d4367e2c72d3383
SHA512 (rails-7.0.7.2-tools.txz) = 409fe6374d785cfb5d8804fc5d993f53d2293891dbdd21c85af614f015c56d29c234716eed69862a71f758f62558582b61c8c4a07b56645e928dde57ef947080
SHA512 (activesupport-7.0.8.gem) = d3f45452751a3ff4acd534ad6a71e5747d2e64683b562b99c3f97ca3980424aa0093d028fab94a6429410fb4878c6e34a2af2ad8c0c04358648e180a732250dc
SHA512 (activesupport-7.0.8-tests.txz) = 153739dca3cd20938e7f1bb255d330e51e91fb9901b6b2ff5ffd76277e44e38090b1037f9eeb574d8ef429c1d3d689dbeb27b9d02ff33fe8f21cef2472a2e8b2
SHA512 (rails-7.0.8-tools.txz) = a67b43ecabe47d23bd437651c97c87e1323dc2eb20d0fffa2c8f0d75fae7502571c3a2633c5bdeb9cc4a383c88b5eade49d55efe895857285b3186b6d4da4b26