From 5b3796bbe7925d191b3e452f455a708f3e3c56a6 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Fri, 22 May 2020 11:36:50 +0200 Subject: [PATCH] Update users to 0.10 Signed-off-by: Igor Raits --- procs-fix-metadata.diff | 18 ++++++++++++------ rust-procs.spec | 6 +++++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/procs-fix-metadata.diff b/procs-fix-metadata.diff index 93c58a1..8b6c6f7 100644 --- a/procs-fix-metadata.diff +++ b/procs-fix-metadata.diff @@ -1,6 +1,6 @@ ---- procs-0.9.20/Cargo.toml 2020-03-13T06:35:51+00:00 -+++ procs-0.9.20/Cargo.toml 2020-03-15T08:09:36.405134+00:00 -@@ -78,10 +78,6 @@ +--- procs-0.10.3/Cargo.toml 2020-05-11T04:13:58+00:00 ++++ procs-0.10.3/Cargo.toml 2020-05-22T09:35:48.023171+00:00 +@@ -81,10 +81,6 @@ [dependencies.directories] version = "2.0" @@ -11,17 +11,23 @@ [dependencies.getch] version = "0.2" -@@ -106,9 +102,6 @@ +@@ -108,10 +104,6 @@ + [dependencies.unicode-width] version = "0.1" - +- -[features] -default = ["docker"] -docker = ["dockworker"] [target."cfg(target_os = \"linux\")".dependencies.pager] version = "0.15" -@@ -123,26 +116,6 @@ +@@ -122,30 +114,10 @@ + version = "0.7.1" + + [target."cfg(target_os = \"linux\")".dependencies.users] +-version = "0.9" ++version = "0.10" [target."cfg(target_os = \"linux\")".dependencies.which] version = "3" diff --git a/rust-procs.spec b/rust-procs.spec index 8a9a685..b3f8c16 100644 --- a/rust-procs.spec +++ b/rust-procs.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.10.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Modern replacement for ps # Upstream license specification: MIT @@ -16,6 +16,7 @@ Source: %{crates_source} # Initial patched metadata # * No windows/macos # * Remove docker feature +# * Update users to 0.10, https://github.com/dalance/procs/pull/61 Patch0: procs-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -65,6 +66,9 @@ License: MIT and ASL 2.0 and BSD and zlib %endif %changelog +* Fri May 22 11:35:48 CEST 2020 Igor Raits - 0.10.3-2 +- Update users to 0.10 + * Mon May 11 2020 Josh Stone - 0.10.3-1 - Update to 0.10.3