Update
This commit is contained in:
parent
9968c06e2a
commit
c764135f45
Binary file not shown.
BIN
actionmailer-6.0.3.4.gem
Normal file
BIN
actionmailer-6.0.3.4.gem
Normal file
Binary file not shown.
@ -1,33 +1,61 @@
|
|||||||
|
%global pkg_name %{name}
|
||||||
|
|
||||||
%global gem_name actionmailer
|
%global gem_name actionmailer
|
||||||
|
%global gem_require_name %{gem_name}
|
||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Epoch: 1
|
Version: 6.0.3.4
|
||||||
Version: 5.2.4.4
|
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Email composition, delivery, and receiving framework (part of Rails)
|
Summary: Email composition and delivery framework (part of Rails)
|
||||||
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://rubyonrails.org
|
URL: https://rubyonrails.org
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
Source1: https://github.com/rails/rails/archive/v5.2.4.4.tar.gz
|
Source1: https://github.com/rails/rails/archive/refs/tags/v%{version}.tar.gz
|
||||||
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(actionpack) = %{version}
|
|
||||||
BuildRequires: rubygem(activejob) = %{version} rubygem(mail) >= 2.5.4
|
Requires: ruby(release)
|
||||||
|
Requires: ruby >= 2.5.0
|
||||||
|
Requires: ruby(rubygems)
|
||||||
|
Requires: rubygem(actionpack) = 6.0.3.4
|
||||||
|
Requires: rubygem(actionview) = 6.0.3.4
|
||||||
|
Requires: rubygem(activejob) = 6.0.3.4
|
||||||
|
Requires: rubygem(mail) >= 2.5
|
||||||
|
Requires: rubygem(mail) < 3
|
||||||
|
Requires: rubygem(mail) >= 2.5.4
|
||||||
|
Requires: rubygem(rails-dom-testing) >= 2.0
|
||||||
|
Requires: rubygem(rails-dom-testing) < 3
|
||||||
|
BuildRequires: ruby(release)
|
||||||
|
BuildRequires: ruby >= 2.5.0
|
||||||
|
BuildRequires: rubygems-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Provides: rubygem(%{gem_name}) = %{version}
|
||||||
|
|
||||||
|
Obsoletes: tfm-ror52-rubygem-%{gem_name} <= 5.2.1
|
||||||
|
|
||||||
%description
|
%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
|
controller/view pattern. First-class support for multipart email and
|
||||||
attachments.
|
attachments.
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{pkg_name}
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Group: Documentation
|
||||||
|
Requires: %{pkg_name} = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}.
|
Documentation for %{pkg_name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
gem unpack %{SOURCE0}
|
||||||
%gem_install -n %{SOURCE0}
|
%setup -q -D -T -n %{gem_name}-%{version}
|
||||||
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
gem build %{gem_name}.gemspec
|
||||||
|
|
||||||
|
%gem_install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
@ -38,7 +66,7 @@ cp -a .%{gem_dir}/* \
|
|||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
tar xzvf %{SOURCE1}
|
tar xzvf %{SOURCE1}
|
||||||
cd rails-%{version}/%{gem_name}
|
cd rails-%{version}/%{gem_name}
|
||||||
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb"'
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -54,6 +82,9 @@ popd
|
|||||||
%doc %{gem_instdir}/README.rdoc
|
%doc %{gem_instdir}/README.rdoc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 07 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 6.0.3.4-1
|
||||||
|
- Update to 6.0.3.4
|
||||||
|
|
||||||
* Mon Feb 8 2021 sunguoshuai <sunguoshuai@huawei.com> - 5.2.4.4-1
|
* Mon Feb 8 2021 sunguoshuai <sunguoshuai@huawei.com> - 5.2.4.4-1
|
||||||
- Upgrade to 5.2.4.4
|
- Upgrade to 5.2.4.4
|
||||||
|
|
||||||
|
|||||||
BIN
v5.2.4.4.tar.gz
BIN
v5.2.4.4.tar.gz
Binary file not shown.
BIN
v6.0.3.4.tar.gz
Normal file
BIN
v6.0.3.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user