[rubygem-mail] Update to Mail 2.6.3.

Vít Ondruch vondruch at fedoraproject.org
Wed Feb 18 17:35:04 UTC 2015


commit 7b785330db6c59b97632d306c7179c59544186c2
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Feb 18 18:34:52 2015 +0100

    Update to Mail 2.6.3.

 .gitignore        |    2 +
 rubygem-mail.spec |   61 +++++++++++++++++++++++-----------------------------
 sources           |    4 +-
 3 files changed, 31 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 26107c6..e1a80be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@
 /mail-2.5.3.gem
 /mail-2.5.4-specs.tgz
 /mail-2.5.4.gem
+/mail-2.6.3-specs.tgz
+/mail-2.6.3.gem
diff --git a/rubygem-mail.spec b/rubygem-mail.spec
index 389e9b3..be4517e 100644
--- a/rubygem-mail.spec
+++ b/rubygem-mail.spec
@@ -1,34 +1,24 @@
 # Generated from mail-2.3.0.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name mail
 
-Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
 Name: rubygem-%{gem_name}
-Version: 2.5.4
-Release: 2%{?dist}
+Version: 2.6.3
+Release: 1%{?dist}
+Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
 Group: Development/Languages
 License: MIT
-URL: http://github.com/mikel/mail
-Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
-# git clone https://github.com/mikel/mail.git && cd mail && git checkout 2.5.4
-# tar czvf mail-2.5.4-specs.tgz spec/
+URL: https://github.com/mikel/mail
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# git clone https://github.com/mikel/mail.git && cd mail && git checkout 2.6.3
+# tar czvf mail-2.6.3-specs.tgz spec/
 Source1: %{gem_name}-%{version}-specs.tgz
-Requires: ruby(release)
-Requires: ruby(rubygems)
-Requires: rubygem(mime-types) >= 1.16
-Requires: rubygem(mime-types) < 2
-Requires: rubygem(treetop) >= 1.4.8
-Requires: rubygem(treetop) < 1.5
-Requires: rubygem(i18n) >= 0.4.0
 BuildRequires: rubygems-devel
 BuildRequires: ruby(release)
-BuildRequires: rubygem(activesupport)
-BuildRequires: rubygem(rspec)
+BuildRequires: ruby
 BuildRequires: rubygem(mime-types) >= 1.16
-BuildRequires: rubygem(mime-types) < 2
-BuildRequires: rubygem(treetop) >= 1.4.8
-BuildRequires: rubygem(treetop) < 1.5
+BuildRequires: rubygem(mime-types) < 3
+BuildRequires: rubygem(rspec)
 BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 A really Ruby Mail handler.
@@ -37,16 +27,15 @@ A really Ruby Mail handler.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
 
 %description doc
-This package contains documentation for %{name}.
-
+Documentation for %{name}.
 
 %prep
 %setup -q -c -T
-# Gem install encoding conversion errors.
-# https://github.com/mikel/mail/issues/393
-LANG=en_US.utf8 %gem_install -n %{SOURCE0}
+%gem_install -n %{SOURCE0}
+
 
 %build
 
@@ -55,13 +44,13 @@ mkdir -p %{buildroot}%{gem_dir}
 cp -a .%{gem_dir}/* \
         %{buildroot}%{gem_dir}/
 
+
+
+
 %check
-tar xzvf %{SOURCE1} -C .%{gem_instdir}
 pushd .%{gem_instdir}
-
-# Test suite does assumptions about encoding.
-# https://github.com/mikel/mail/issues/392
-LANG=en_US.utf8 rspec -rmail/fields/common/common_address spec
+tar xzvf %{SOURCE1}
+rspec spec
 popd
 
 %files
@@ -69,19 +58,23 @@ popd
 %{gem_libdir}
 %exclude %{gem_cache}
 %{gem_spec}
-%doc %{gem_instdir}/README.md
-%doc %{gem_instdir}/MIT-LICENSE
+%license %{gem_instdir}/MIT-LICENSE
 
 %files doc
 %doc %{gem_docdir}
 %doc %{gem_instdir}/CHANGELOG.rdoc
 %doc %{gem_instdir}/CONTRIBUTING.md
 %doc %{gem_instdir}/Dependencies.txt
+%doc %{gem_instdir}/README.md
 %doc %{gem_instdir}/TODO.rdoc
-%doc %{gem_instdir}/Gemfile*
-%doc %{gem_instdir}/Rakefile
+%{gem_instdir}/Gemfile*
+%{gem_instdir}/Rakefile
+
 
 %changelog
+* Wed Feb 18 2015 Vít Ondruch <vondruch at redhat.com> - 2.6.3-1
+- Update to Mail 2.6.3.
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 84e3ef8..395e3bf 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-061ac16c29193c168976b69d679decbd  mail-2.5.4-specs.tgz
-209b00419b063d4cbfeeab01c2cfaf62  mail-2.5.4.gem
+545e27d894e7533fcf473bcd960ba752  mail-2.6.3-specs.tgz
+b3a0b74bc1c5cc67e34007c27ef1e579  mail-2.6.3.gem


More information about the scm-commits mailing list