diff --git a/coreutils-fix-metadata.diff b/coreutils-fix-metadata.diff index 9a7f9d1..cb62082 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 2024-12-05T01:03:40.090670+00:00 ++++ coreutils-0.0.27/Cargo.toml 2024-12-05T01:07:05.985631+00:00 @@ -30,6 +30,7 @@ categories = ["command-line-utilities"] license = "MIT" @@ -42,3 +42,12 @@ feat_Tier1 = [ "feat_common_core", "arch", +@@ -878,7 +878,7 @@ + version = "0.5.1" + + [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dev-dependencies.procfs] +-version = "0.16" ++version = ">=0.16, <0.18" + default-features = false + + [target."cfg(unix)".dev-dependencies.nix] diff --git a/rust-coreutils.spec b/rust-coreutils.spec index 126e88f..b7df480 100644 --- a/rust-coreutils.spec +++ b/rust-coreutils.spec @@ -20,6 +20,7 @@ Source2: coreutils-ls-commands.sh # * allow up to rstest 0.23 # * enable feat_acl # * TODO: enable unix +# * allow procfs 0.17 Patch: coreutils-fix-metadata.diff # * Fix seq tests that pass negative numbers Patch2: coreutils-fix-seq-neg-num-tests.diff diff --git a/rust2rpm.toml b/rust2rpm.toml index 72cc524..d7802e4 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -7,6 +7,7 @@ cargo-toml-patch-comments = [ "allow up to rstest 0.23", "enable feat_acl", "TODO: enable unix", + "allow procfs 0.17", ] extra-sources = [ { "number" = 1, "file" = "coreutils-wrapper.sh", "comments" = ["Wrapper to invoke coreutils multicall via individual libexec symlink"] },