public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/selenium-manager] f45: Update zip dependency from v8 (patched back to v2) to v9
@ 2026-11-07 8:04 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-07 8:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/selenium-manager
Branch : f45
Commit : ccf5172fecb381093ce0e932b38fe23e9c44d073
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-06T11:13:59+00:00
Stats : +19/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/selenium-manager/c/ccf5172fecb381093ce0e932b38fe23e9c44d073?branch=f45
Log:
Update zip dependency from v8 (patched back to 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 c847efb..cc80c31 100644
--- a/0001-remove-unnecessary-dependencies.patch
+++ b/0001-remove-unnecessary-dependencies.patch
@@ -15,7 +15,7 @@
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
-zip = { version = "8", default-features = false, features = ["deflate"] }
-directories = "6.0.0"
-+zip = { version = "2.2.3", default-features = false, features = ["deflate-zlib"] }
++zip = { version = "9", default-features = false, features = ["deflate"] }
+directories = ">=5.0.1, <7.0.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
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 d0e840e..4c1dea2 100644
--- a/selenium-manager.spec
+++ b/selenium-manager.spec
@@ -10,12 +10,10 @@ Summary: Automated driver and browser management for Selenium
# 0BSD OR MIT OR Apache-2.0
# Apache-2.0
# Apache-2.0 AND ISC AND (MIT OR Apache-2.0)
-# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR ISC OR MIT
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# BSD-3-Clause
-# CDLA-Permissive-2.0
# ISC
# MIT
# MIT OR Apache-2.0
@@ -23,6 +21,7 @@ Summary: Automated driver and browser management for Selenium
# MPL-2.0
# Unicode-3.0
# Unlicense OR MIT
+# Zlib
# bzip2-1.0.6
@@ -31,15 +30,14 @@ Summary: Automated driver and browser management for Selenium
License: %{shrink:
Apache-2.0 AND
BSD-3-Clause AND
- CDLA-Permissive-2.0 AND
ISC AND
MIT AND
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
(Apache-2.0 OR ISC OR MIT) AND
(Apache-2.0 OR MIT) AND
(Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
@@ -59,6 +57,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 v8 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 +73,7 @@ that provides automated driver and browser management for Selenium.
cd src
%patch -P 1
cd ..
+%patch -P 2 -p2
%cargo_prep
%generate_buildrequires
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-07 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 8:04 [rpms/selenium-manager] f45: Update zip dependency from v8 (patched back to v2) to v9 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox