fix: ensure file type bit is set for rpm bundle (#5459)

By using the `permissions()` method of `FileOptionsBuilder`,
which was added in version 0.20.0 of the `rpm` crate, we fix
a bug where newer versions of `rpm` (the package, not the
crate) would fail when installing the bundle.
This commit is contained in:
Lluc Simó authored and GitHub committed 2026-04-07 12:55:16 -07:00
1 parent a07b406699
commit 610ee8107f
3 files changed
+21 -11

No files matched your search

Generated
+3 -2
View File
@@ -13112,9 +13112,9 @@ checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"
[[package]]
name = "rpm"
version = "0.19.0"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95c0e45982d67e35e3bbffb24d95e3d0282211ac2dad755b2ab24b9ffc07b199"
checksum = "42b9353ebc70385f83520d2490e23139ae78f897a5d7e3b7c34cb8a9f91c69a6"
dependencies = [
"base64 0.22.1",
"bitflags 2.11.0",
@@ -13126,6 +13126,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"md-5",
"memchr",
"nom 8.0.0",
"num",
"num-derive",