Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
d45db01150 !6 [sync] PR-5: bug fix I443UD
From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-16 06:14:21 +00:00
miao_kaibo
45326a29eb bug fix I443UD
(cherry picked from commit d0d5c10850b1a462f8590c8f07ee30e4fed78c60)
2021-08-16 14:05:21 +08:00
openeuler-ci-bot
ff7802058c !4 Update the package version to 2.7.1
From: @liqiuyu123
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-06-28 03:36:06 +00:00
liqiuyu
a7f7095b81 Update to 2.7.1 2021-06-25 09:34:35 +08:00
openeuler-ci-bot
9329b9409f !3 yaml fix
From: @gyn_emma
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2020-10-10 15:53:05 +08:00
GYN
0e00a678fe update rubygem-mail.yaml. 2020-10-10 14:14:57 +08:00
openeuler-ci-bot
6e68f6676d !2 package init
Merge pull request !2 from GYN/master
2020-09-08 15:58:01 +08:00
GYN
322c741205 fix build fail 2020-09-08 15:46:18 +08:00
openeuler-ci-bot
06286950d4 !1 package init
Merge pull request !1 from GYN/master
2020-09-01 09:57:08 +08:00
GYN
341be8704a 1 2020-08-28 15:54:14 +08:00
4 changed files with 88 additions and 0 deletions

BIN
mail-2.7.1.gem Normal file

Binary file not shown.

BIN
mail-2.7.1.tar.gz Normal file

Binary file not shown.

84
rubygem-mail.spec Normal file
View File

@ -0,0 +1,84 @@
%global pkg_name %{name}
%global gem_name mail
Name: rubygem-%{gem_name}
Version: 2.7.1
Release: 2
Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
Group: Development/Languages
License: MIT
URL: https://github.com/mikel/mail
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/mikel/%{gem_name}/archive/refs/tags/%{gem_name}-%{version}.tar.gz
# start specfile generated dependencies
Requires: ruby(release)
Requires: ruby
Requires: ruby(rubygems)
Requires: rubygem(mini_mime) >= 0.1.1
BuildRequires: ruby(release)
BuildRequires: ruby
BuildRequires: rubygems-devel
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
# end specfile generated dependencies
Obsoletes: tfm-ror52-rubygem-%{gem_name} <= 2.7.0
%description
A really Ruby Mail handler.
%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{pkg_name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{pkg_name}.
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build
# Create the gem as gem install only works on a gem file
gem build %{gem_name}.gemspec
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{gem_instdir}
%license %{gem_instdir}/MIT-LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%changelog
* Mon Aug 16 2021 miaokaibo <miaokaibo@outlook.com> - 2.7.1-2
- Bug fix I443UD
* Thu Jun 24 2021 liqiuyu <liqiuyu@kylinos.cn> - 2.7.1-1
- Update version to 2.7.1
* Tue Sep 8 2020 geyanan <geyanan2@huawei.com> - 2.6.4-2
- fix build fail
* Wed Aug 19 2020 geyanan <geyanan2@huawei.com> - 2.6.4-1
- package init

4
rubygem-mail.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: mikel/mail
tag_prefix: ""
seperator: "."