public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-addressable] rawhide: Update to v2.9.2
Date: Wed, 04 Nov 2026 07:53:25 GMT [thread overview]
Message-ID: <179377880511.1.11306053986855739001.rpms-rubygem-addressable-059daf77c99a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rubygem-addressable
Branch : rawhide
Commit : 059daf77c99adb47cb05cad17479eaa7ed374324
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-11-03T17:25:50+01:00
Stats : +10/-41 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-addressable/c/059daf77c99adb47cb05cad17479eaa7ed374324?branch=rawhide
Log:
Update to v2.9.2
- Resolves rhbz#2293633
The .gem file no longer includes or installs the the spec/* files so
we need to grab the upstream tar ball as well.
---
diff --git a/.gitignore b/.gitignore
index 004912f..0e21b69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/addressable-*.gem
+/addressable-addressable-2.9.2.tar.gz
diff --git a/addressable-pr557-ruby4_0-Ractor.patch b/addressable-pr557-ruby4_0-Ractor.patch
deleted file mode 100644
index cc700cf..0000000
--- a/addressable-pr557-ruby4_0-Ractor.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 2d934a90f74fd4598cd05582ee7c5a24b87c76a0 Mon Sep 17 00:00:00 2001
-From: Patrik Ragnarsson <patrik@starkast.net>
-Date: Mon, 10 Nov 2025 20:31:31 +0100
-Subject: [PATCH] CI: `Ractor` fix for Ruby 4.0
-
-Close https://github.com/sporkmonger/addressable/issues/556
----
- spec/addressable/uri_spec.rb | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb
-index 07818490..68ee3031 100644
---- a/spec/addressable/uri_spec.rb
-+++ b/spec/addressable/uri_spec.rb
-@@ -6816,9 +6816,10 @@ def to_str
- describe Addressable::URI, "when initialized in a non-main `Ractor`" do
- it "should have the same value as if used in the main `Ractor`" do
- pending("Ruby 3.0+ for `Ractor` support") unless defined?(Ractor)
-+ value_method = RUBY_VERSION >= "3.5.0" ? :value : :take # see https://github.com/ruby/ruby/pull/13445
- main = Addressable::URI.parse("http://example.com")
- expect(
-- Ractor.new { Addressable::URI.parse("http://example.com") }.take
-+ Ractor.new { Addressable::URI.parse("http://example.com") }.public_send(value_method)
- ).to eq(main)
- end
- end
diff --git a/rubygem-addressable.spec b/rubygem-addressable.spec
index 7755af6..0051f3a 100644
--- a/rubygem-addressable.spec
+++ b/rubygem-addressable.spec
@@ -2,15 +2,13 @@
%global gem_name addressable
Name: rubygem-%{gem_name}
-Version: 2.8.6
-Release: 9%{?dist}
+Version: 2.9.2
+Release: 1%{?dist}
Summary: URI Implementation
License: Apache-2.0
URL: https://github.com/sporkmonger/addressable
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
-# https://github.com/sporkmonger/addressable/pull/557/commits/2d934a90f74fd4598cd05582ee7c5a24b87c76a0
-# Fix for ruby4_0 Ractor
-Patch0: addressable-pr557-ruby4_0-Ractor.patch
+Source1: https://github.com/sporkmonger/%{gem_name}/archive/%{gem_name}-%{version}/%{gem_name}-%{gem_name}-%{version}.tar.gz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(bigdecimal)
@@ -34,7 +32,7 @@ Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
-%patch -P0 -p1
+tar zxf %{SOURCE1} %{gem_name}-%{gem_name}-%{version}/spec --strip-components 1
%build
gem build ../%{gem_name}-%{version}.gemspec
@@ -46,7 +44,6 @@ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
-pushd .%{gem_instdir}
# Drop Bundler dependency.
sed -i "/require 'bundler\/setup'/ s/^/#/" spec/spec_helper.rb
@@ -54,27 +51,23 @@ sed -i "/require 'bundler\/setup'/ s/^/#/" spec/spec_helper.rb
mv spec/addressable/net_http_compat_spec.rb{,.disabled}
LC_ALL=C.UTF-8 rspec spec/
-popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE.txt
-%{gem_instdir}/data
%{gem_libdir}
-%{gem_instdir}/tasks
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
-%{gem_instdir}/Gemfile
-%{gem_instdir}/%{gem_name}.gemspec
%doc %{gem_instdir}/README.md
-%{gem_instdir}/Rakefile
-%{gem_instdir}/spec
%changelog
+* Tue Nov 3 2026 Steve Traylen <steve.traylen@cern.ch> - 2.9.2-1
+- Update to 2.9.2 - rhbz#2293633 CVE-2026-35611
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 4d5b738..b24afac 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (addressable-2.8.6.gem) = a7cb784cd5564cabec99eb7582ac17969b166e38057c23f3df74707d0078d00d001c2523432ce4e52720528ee808f314f2d6c9139562de27b599363b919cca65
+SHA512 (addressable-2.9.2.gem) = ab8d57959f22f40f53cc702950b4fa0338511b7f89121203b2efbdc7df17a47bb38c6549bbfc6ab95ed5e2fa8ec2658dfe25325e6ae71444c0ebf3c2df9ef1f4
+SHA512 (addressable-addressable-2.9.2.tar.gz) = fc4981f7adf47688cbd33426f9a53e3ba4513135b2d19faa91e2c6b953b8eab9bad00ea6156e3ed56e27dac8dbe3f145d80a6f6f78f999f798b1e78d9498de2d
reply other threads:[~2026-11-04 7:53 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=179377880511.1.11306053986855739001.rpms-rubygem-addressable-059daf77c99a@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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