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] rawhide: Update zip dependency from v8 (patched back to v2) to v9
Date: Sat, 07 Nov 2026 08:03:09 GMT	[thread overview]
Message-ID: <179403858947.1.13981981971432821296.rpms-selenium-manager-ccf5172fecb3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/selenium-manager
            Branch : rawhide
            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=rawhide

            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

                 reply	other threads:[~2026-11-07  8:03 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=179403858947.1.13981981971432821296.rpms-selenium-manager-ccf5172fecb3@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