!16 Upgrade to version 7.0.4

From: @wk333 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-01-20 02:56:22 +00:00 committed by Gitee
commit 7b33689fed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 16 additions and 2 deletions

Binary file not shown.

BIN
actionmailer-7.0.4.gem Normal file

Binary file not shown.

View File

@ -2,13 +2,21 @@
Name: rubygem-%{gem_name}
Epoch: 1
Version: 6.1.4.1
Version: 7.0.4
Release: 1
Summary: Email composition and delivery framework (part of Rails)
License: MIT
URL: https://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# ActionMailer 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/actionmailer && git archive -v -o actionmailer-7.0.4-tests.txz v7.0.4 test/
Source1: actionmailer-%{version}-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.4-tools.txz v7.0.4 tools/
Source2: rails-%{version}-tools.txz
BuildRequires: ruby(release)
@ -17,6 +25,7 @@ BuildRequires: ruby >= 2.2.2
BuildRequires: rubygem(actionpack) = %{version}
BuildRequires: rubygem(activejob) = %{version}
BuildRequires: rubygem(mail) >= 2.5.4
BuildRequires: rubygem(net-smtp)
BuildArch: noarch
%description
@ -49,7 +58,9 @@ pushd .%{gem_instdir}
ln -s %{_builddir}/tools ..
mv %{_builddir}/test .
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
# Bigdecimal does not get auto-required
# https://github.com/rails/rails/issues/44399
ruby -Ilib:test -rbigdecimal -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
popd
%files
@ -65,6 +76,9 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Thu Jan 19 2023 wangkai <wangkai385@h-partners.com> - 1:7.0.4-1
- Upgrade to version 7.0.4
* Wed May 04 2022 wangkerong <wangkerong@h-partners.com> - 6.1.4.1-1
- Upgrade to 6.1.4.1