public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-rmagick] f45: increase time limit on spec on i686
@ 2026-08-30 13:11 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-08-30 13:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rubygem-rmagick
Branch : f45
Commit : 6958791ce268ce9420c2e29d2c68bb5aed26570c
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-08-30T22:10:52+09:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-rmagick/c/6958791ce268ce9420c2e29d2c68bb5aed26570c?branch=f45
Log:
increase time limit on spec on i686
---
diff --git a/rmagick-7.1.2-spec-timelimit-i686.patch b/rmagick-7.1.2-spec-timelimit-i686.patch
new file mode 100644
index 0000000..b9784c8
--- /dev/null
+++ b/rmagick-7.1.2-spec-timelimit-i686.patch
@@ -0,0 +1,11 @@
+--- rmagick-7.1.2/spec/rmagick/class_methods/limit_resources_spec.rb.timelimit 2026-08-30 13:07:01.000000000 +0900
++++ rmagick-7.1.2/spec/rmagick/class_methods/limit_resources_spec.rb 2026-08-30 21:57:45.301026004 +0900
+@@ -38,7 +38,7 @@ RSpec.describe Magick, '.limit_resources
+ expect(new).to eq(123)
+ expect { new = described_class.limit_resource('time') }.not_to raise_error
+ expect(new).to eq(300)
+- described_class.limit_resource(:time, cur)
++ described_class.limit_resource(:time, new)
+
+ expect { described_class.limit_resource(:xxx) }.to raise_error(ArgumentError)
+ expect { described_class.limit_resource('xxx') }.to raise_error(ArgumentError)
diff --git a/rubygem-rmagick.spec b/rubygem-rmagick.spec
index 0b4e473..8e356c9 100644
--- a/rubygem-rmagick.spec
+++ b/rubygem-rmagick.spec
@@ -19,6 +19,8 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# %%{SOURCE2} %%{version}
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
Source2: rmagick-create-full-tarball.sh
+# Increase timelimit on i686 (to be the same value as 7.1.1)
+Patch0: rmagick-7.1.2-spec-timelimit-i686.patch
BuildRequires: gcc-c++
BuildRequires: rubygems-devel
@@ -63,6 +65,8 @@ Documentation for %{name}.
%setup -q -T -n %{gem_name}-%{version} -b 1
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+%patch -P0 -p1
+
# permission
find . -name \*.rb -or -name \*.gif | xargs chmod ugo-x
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 13:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 13:11 [rpms/rubygem-rmagick] f45: increase time limit on spec on i686 Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox