From bf5fc932eb46d8aec78f2d35eaad618588bb51af Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 5 Jan 2026 09:34:36 +0000 Subject: [PATCH] Allow procfs 0.18 --- coreutils-fix-metadata.diff | 4 ++-- rust-coreutils.spec | 2 +- rust2rpm.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coreutils-fix-metadata.diff b/coreutils-fix-metadata.diff index 2b12a66..90edc62 100644 --- a/coreutils-fix-metadata.diff +++ b/coreutils-fix-metadata.diff @@ -1,5 +1,5 @@ --- coreutils-0.0.27/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ coreutils-0.0.27/Cargo.toml 2025-12-04T07:54:17.698037+00:00 ++++ coreutils-0.0.27/Cargo.toml 2026-01-05T09:34:07.355658+00:00 @@ -30,6 +30,7 @@ categories = ["command-line-utilities"] license = "MIT" @@ -56,7 +56,7 @@ [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dev-dependencies.procfs] -version = "0.16" -+version = ">=0.16, <0.18" ++version = ">=0.16, <0.19" default-features = false [target."cfg(unix)".dev-dependencies.nix] diff --git a/rust-coreutils.spec b/rust-coreutils.spec index c61fe2c..310bc69 100644 --- a/rust-coreutils.spec +++ b/rust-coreutils.spec @@ -19,7 +19,7 @@ Source1: coreutils-ls-commands.sh # https://github.com/uutils/coreutils/commit/001a91fbe6adea29a566326df3fcda30f89e97ab # * enable feat_acl # * TODO: enable unix -# * allow procfs 0.17 +# * allow procfs 0.17, 0.18 # * allow hex-literal 1.0: # https://github.com/uutils/coreutils/commit/944cd4f72ca7d6e87d06d0a0a5b9e8dafedfba4b Patch: coreutils-fix-metadata.diff diff --git a/rust2rpm.toml b/rust2rpm.toml index 806eba5..0548894 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -7,7 +7,7 @@ cargo-toml-patch-comments = [ "update rstest to 0.26: https://github.com/uutils/coreutils/commit/001a91fbe6adea29a566326df3fcda30f89e97ab", "enable feat_acl", "TODO: enable unix", - "allow procfs 0.17", + "allow procfs 0.17, 0.18", "allow hex-literal 1.0: https://github.com/uutils/coreutils/commit/944cd4f72ca7d6e87d06d0a0a5b9e8dafedfba4b", ] extra-sources = [