Compare commits
No commits in common. "d45db01150f0a4d38ca24e84f9353acbad1bd98b" and "61a320bd7ebfc319c04f77f51709bfcdb211ca9a" have entirely different histories.
d45db01150
...
61a320bd7e
BIN
mail-2.7.1.gem
BIN
mail-2.7.1.gem
Binary file not shown.
Binary file not shown.
@ -1,84 +0,0 @@
|
|||||||
%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
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: mikel/mail
|
|
||||||
tag_prefix: ""
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user