From 0590fe39e817be84fa5b4b4438931ac1f18cb844 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 10 Apr 2023 21:14:37 +0200 Subject: [PATCH] Bump rustix from 0.36 to 0.37 --- README.md | 3 --- procfs-fix-metadata.diff | 11 +++++++++++ rust-procfs.spec | 5 ++++- 3 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 README.md create mode 100644 procfs-fix-metadata.diff diff --git a/README.md b/README.md deleted file mode 100644 index fa3ae54..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-procfs - -The rust-procfs package \ No newline at end of file diff --git a/procfs-fix-metadata.diff b/procfs-fix-metadata.diff new file mode 100644 index 0000000..735eced --- /dev/null +++ b/procfs-fix-metadata.diff @@ -0,0 +1,11 @@ +--- procfs-0.14.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ procfs-0.14.2/Cargo.toml 2023-04-04T14:12:30.201772+00:00 +@@ -66,7 +66,7 @@ + version = "1.0.2" + + [dependencies.rustix] +-version = "0.36.0" ++version = "0.37.0" + features = [ + "fs", + "process", diff --git a/rust-procfs.spec b/rust-procfs.spec index b4a6993..1ab1894 100644 --- a/rust-procfs.spec +++ b/rust-procfs.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 # * missing dev-dependency: procinfo (depends on outdated nom 2) %bcond_with check %global debug_package %{nil} @@ -13,6 +13,9 @@ Summary: Interface to the linux procfs pseudo-filesystem License: MIT OR Apache-2.0 URL: https://crates.io/crates/procfs Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump rustix from 0.36 to 0.37 +Patch: procfs-fix-metadata.diff BuildRequires: rust-packaging >= 21