!12 [sync] PR-11: Upgrade to 6.1.4.1

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-03-31 01:31:10 +00:00 committed by Gitee
commit ac9bce7830
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 36 additions and 22 deletions

Binary file not shown.

Binary file not shown.

BIN
actionmailer-6.1.4.1.gem Normal file

Binary file not shown.

BIN
rails-6.1.4.1-tools.txz Normal file

Binary file not shown.

View File

@ -1,18 +1,26 @@
%global gem_name actionmailer
Name: rubygem-%{gem_name}
Epoch: 1
Version: 5.2.4.4
Version: 6.1.4.1
Release: 1
Summary: Email composition, delivery, and receiving framework (part of Rails)
Summary: Email composition and delivery framework (part of Rails)
License: MIT
URL: http://rubyonrails.org
URL: https://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/rails/rails/archive/v5.2.4.4.tar.gz
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(actionpack) = %{version}
BuildRequires: rubygem(activejob) = %{version} rubygem(mail) >= 2.5.4
Source1: actionmailer-%{version}-tests.txz
Source2: rails-%{version}-tools.txz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby >= 2.2.2
BuildRequires: rubygem(actionpack) = %{version}
BuildRequires: rubygem(activejob) = %{version}
BuildRequires: rubygem(mail) >= 2.5.4
BuildArch: noarch
%description
Email on Rails. Compose, deliver, receive, and test emails using the familiar
Email on Rails. Compose, deliver, and test emails using the familiar
controller/view pattern. First-class support for multipart email and
attachments.
@ -20,14 +28,16 @@ attachments.
Summary: Documentation for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -c -T
%gem_install -n %{SOURCE0}
%setup -q -n %{gem_name}-%{version}%{?prerelease} -b1 -b2
%build
gem build ../%{gem_name}-%{version}%{?prerelease}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
@ -36,8 +46,9 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
tar xzvf %{SOURCE1}
cd rails-%{version}/%{gem_name}
ln -s %{_builddir}/tools ..
mv %{_builddir}/test .
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
popd
@ -54,6 +65,9 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Fri May 04 2022 wangkerong <wangkerong@h-partners.com> - 6.1.4.1-1
- Upgrade to 6.1.4.1
* Mon Feb 8 2021 sunguoshuai <sunguoshuai@huawei.com> - 5.2.4.4-1
- Upgrade to 5.2.4.4

Binary file not shown.