public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Valena <pvalena@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-mail] epel10: Update to mail 2.7.1
Date: Fri, 20 Nov 2026 23:23:11 GMT [thread overview]
Message-ID: <179521699190.1.12697550604784311733.rpms-rubygem-mail-8c1c5916ce78@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rubygem-mail
Branch : epel10
Commit : 8c1c5916ce78ac31e04892e89b706690ce95fd65
Author : Pavel Valena <pvalena@redhat.com>
Date : 2020-06-09T10:53:49+02:00
Stats : +20/-46 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-mail/c/8c1c5916ce78ac31e04892e89b706690ce95fd65?branch=epel10
Log:
Update to mail 2.7.1
also enhance .spec and .gitignore files.
Resolves: rhbz#1446187
---
diff --git a/.gitignore b/.gitignore
index 13903b9..6029cc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1,2 @@
-/mail-2.2.15.gem
-/mail-downgrade-gemfile-deps.patch
-/mail-2.2.15-tests.tgz
-/rubygem-mail.spec
-/mail-2.3.0.gem
-/mail-2.3.0-specs.tgz
-/mail-2.4.4-specs.tgz
-/mail-2.4.4.gem
-/mail-2.5.3-specs.tgz
-/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
-/mail-2.6.4-specs.tgz
-/mail-2.6.4.gem
+/mail-*-specs.txz
+/mail-*.gem
diff --git a/rubygem-mail.spec b/rubygem-mail.spec
index c105492..2f7b915 100644
--- a/rubygem-mail.spec
+++ b/rubygem-mail.spec
@@ -2,24 +2,21 @@
%global gem_name mail
Name: rubygem-%{gem_name}
-Version: 2.6.4
-Release: 9%{?dist}
+Version: 2.7.1
+Release: 1%{?dist}
Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
License: MIT
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.4 && tar czvf mail-2.6.4-specs.tgz spec/
-Source1: %{gem_name}-%{version}-specs.tgz
-# Fix Ruby 2.4 compatibility.
-# https://github.com/mikel/mail/commit/e8fde9cf1d77ee7e465c12e809501df8d27e8451
-Patch0: mail-2.6.4-Fix-deprecated-warnings-in-Ruby-2.4.0.patch
-# https://github.com/mikel/mail/commit/48cb6db25b31eebe7bdd330d812c52d3c93aa328
-Patch1: mail-2.6.4-fix-new-warning-in-ruby-2.4.patch
+# Specs are not shipped with the gem. You can get them like so:
+# git clone https://github.com/mikel/mail.git --no-checkout
+# cd mail && git archive -v -o mail-2.7.1-specs.txz 2.7.1 spec/
+Source1: %{gem_name}-%{version}-specs.txz
+
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
-BuildRequires: rubygem(mime-types) >= 1.16
+BuildRequires: rubygem(mini_mime)
BuildRequires: rubygem(rspec)
BuildArch: noarch
@@ -35,27 +32,20 @@ BuildArch: noarch
Documentation for %{name}.
%prep
-%setup -q -c -T
-%gem_install -n %{SOURCE0}
-
-pushd .%{gem_instdir}
-%patch0 -p1
-%patch1 -p1
-popd
+%setup -q -n %{gem_name}-%{version} -b1
%build
+gem build ../%{gem_name}-%{version}.gemspec
+%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
-
-
-
%check
pushd .%{gem_instdir}
-tar xzvf %{SOURCE1}
+ln -s %{_builddir}/spec .
rspec spec
popd
@@ -68,15 +58,13 @@ popd
%files doc
%doc %{gem_docdir}
-%doc %{gem_instdir}/CHANGELOG.rdoc
-%doc %{gem_instdir}/CONTRIBUTING.md
-%doc %{gem_instdir}/Dependencies.txt
-%{gem_instdir}/Gemfile*
%doc %{gem_instdir}/README.md
-%{gem_instdir}/Rakefile
-%doc %{gem_instdir}/TODO.rdoc
%changelog
+* Mon Jun 08 2020 Pavel Valena <pvalena@redhat.com> - 2.7.1-1
+- Update to mail 2.7.1.
+ Resolves: rhbz#1446187
+
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index 43f7bb4..98d15da 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-0ae3b38f016451f9ef63e861646b8eb5 mail-2.6.4-specs.tgz
-3e43923308949f33f7281e88c92dc101 mail-2.6.4.gem
+SHA512 (mail-2.7.1.gem) = b8018ad089517ba058e922ec32653e6052c76a480178ae92452fdd678e3ba7f4916ee6643efa59dd673a6a8550f907fc7a2121c21f468c70b3659bf5615991d7
+SHA512 (mail-2.7.1-specs.txz) = 0ef6df35a3fa7258ef5033a6484d58fc6b2f7cb92871339f1e9e8a3257e484c238bdf3ff07fc2e50a38c7ab1b060c960f61b86df573fc11a423fdaa47459521c
reply other threads:[~2026-11-20 23:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179521699190.1.12697550604784311733.rpms-rubygem-mail-8c1c5916ce78@fedoraproject.org \
--to=pvalena@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox