public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/selenium-manager] f43: Update zip dependency from v2 to v9
Date: Sat, 07 Nov 2026 08:08:02 GMT [thread overview]
Message-ID: <179403888273.1.3548568123714446429.rpms-selenium-manager-12a552467d01@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/selenium-manager
Branch : f43
Commit : 12a552467d01c64bf88bf18b3c5b34b737714249
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-07T08:07:40+00:00
Stats : +19/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/selenium-manager/c/12a552467d01c64bf88bf18b3c5b34b737714249?branch=f43
Log:
Update zip dependency from v2 to v9
- Fixes RUSTSEC-2026-0367, RUSTSEC-2026-0368, RUSTSEC-2026-0369
- Update License expression based on a current build
---
diff --git a/0001-remove-unnecessary-dependencies.patch b/0001-remove-unnecessary-dependencies.patch
index 8496b56..3ad2d10 100644
--- a/0001-remove-unnecessary-dependencies.patch
+++ b/0001-remove-unnecessary-dependencies.patch
@@ -4,7 +4,7 @@
tempfile = "3.19.1"
reqwest = { version = "0.12.15", default-features = false, features = ["rustls-tls"] }
-zip = { version = "2.6.1", default-features = false, features = ["deflate-zlib"] }
-+zip = { version = "2.2.3", default-features = false, features = ["deflate-zlib"] }
++zip = { version = "9", default-features = false, features = ["deflate"] }
-directories = "6.0.0"
+directories = ">=5.0.1, <7.0.0"
serde = { version = "1.0.219", features = ["derive"] }
diff --git a/selenium-4.45.0-zip9.patch b/selenium-4.45.0-zip9.patch
new file mode 100644
index 0000000..8de4a7f
--- /dev/null
+++ b/selenium-4.45.0-zip9.patch
@@ -0,0 +1,12 @@
+diff -Naur a/rust/src/files.rs b/rust/src/files.rs
+--- a/rust/src/files.rs 2026-06-16 05:41:30.000000000 +0100
++++ b/rust/src/files.rs 2026-11-06 11:04:49.031941636 +0000
+@@ -416,7 +416,7 @@
+ }
+ None => continue,
+ };
+- if file.name().ends_with('/') {
++ if file.name()?.ends_with('/') {
+ log.trace(format!("File extracted to {}", tmp_path.display()));
+ fs::create_dir_all(&tmp_path)?;
+ } else {
diff --git a/selenium-manager.spec b/selenium-manager.spec
index f280568..7faaead 100644
--- a/selenium-manager.spec
+++ b/selenium-manager.spec
@@ -23,6 +23,7 @@ Summary: Automated driver and browser management for Selenium
# MPL-2.0
# Unicode-3.0
# Unlicense OR MIT
+# Zlib
# bzip2-1.0.6
@@ -37,6 +38,7 @@ License: %{shrink:
MPL-2.0 AND
Unicode-3.0 AND
Unicode-DFS-2016 AND
+ Zlib AND
bzip2-1.0.6 AND
(0BSD OR MIT OR Apache-2.0) AND
(Apache-2.0 OR BSL-1.0) AND
@@ -59,6 +61,9 @@ Source0: %{url}/archive/selenium-%{version}.tar.gz
# Upstream status: https://github.com/SeleniumHQ/selenium/issues/15009#issuecomment-3027302387
Patch0: 0001-remove-unnecessary-dependencies.patch
Patch1: 0001-remove-unsupported-function.patch
+# Source-code patch to update from zip v2 to v9 (see Patch0).
+# https://github.com/SeleniumHQ/selenium/commit/7dfc0139a8d06bf72b74072159903353bb61c1f4
+Patch2: selenium-4.45.0-zip9.patch
BuildRequires: cargo-rpm-macros >= 24
@@ -72,6 +77,7 @@ that provides automated driver and browser management for Selenium.
cd src
%patch -P 1
cd ..
+%patch -P 2 -p2
%cargo_prep
%generate_buildrequires
reply other threads:[~2026-11-07 8:08 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=179403888273.1.3548568123714446429.rpms-selenium-manager-12a552467d01@fedoraproject.org \
--to=code@musicinmybrain.net \
--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