Bug 1921589

Summary: rust-procs-0.12.3 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: rust-procsAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, igor.raits, kevin-agwaze, rust-sig
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-procs-0.12.3-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-27 15:38:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Upstream Release Monitoring 2021-01-28 09:25:35 UTC
Latest upstream release: 0.11.0
Current version/release in rawhide: 0.10.10-1.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 1 Upstream Release Monitoring 2021-01-28 11:51:58 UTC
Latest upstream release: 0.11.1
Current version/release in rawhide: 0.10.10-1.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 2 Upstream Release Monitoring 2021-01-29 03:59:53 UTC
Latest upstream release: 0.11.2
Current version/release in rawhide: 0.10.10-1.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 3 Upstream Release Monitoring 2021-01-30 03:13:19 UTC
Latest upstream release: 0.11.3
Current version/release in rawhide: 0.10.10-1.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 4 Upstream Release Monitoring 2021-03-12 09:48:02 UTC
Latest upstream release: 0.11.4
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 5 Upstream Release Monitoring 2021-05-05 23:12:12 UTC
Latest upstream release: 0.11.5
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 6 Upstream Release Monitoring 2021-05-18 02:05:08 UTC
Latest upstream release: 0.11.6
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 7 Upstream Release Monitoring 2021-05-19 09:23:48 UTC
Latest upstream release: 0.11.7
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 8 Upstream Release Monitoring 2021-05-28 12:10:02 UTC
Latest upstream release: 0.11.8
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 9 Fabio Valentini 2021-05-30 09:30:07 UTC
Requires new package for termbg ^0.3.0.

Comment 10 Upstream Release Monitoring 2021-06-22 02:02:01 UTC
Latest upstream release: 0.11.9
Current version/release in rawhide: 0.10.10-2.fc34
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 11 Upstream Release Monitoring 2021-10-19 12:58:01 UTC
Latest upstream release: 0.11.10
Current version/release in rawhide: 0.10.10-3.fc35
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/76458/

Comment 12 Upstream Release Monitoring 2021-12-14 06:50:53 UTC
Latest upstream release: 0.11.11
Current version/release in rawhide: 0.10.10-3.fc35
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 13 Upstream Release Monitoring 2021-12-15 03:59:31 UTC
Latest upstream release: 0.11.12
Current version/release in rawhide: 0.10.10-3.fc35
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 14 Upstream Release Monitoring 2021-12-24 12:44:44 UTC
Latest upstream release: 0.11.13
Current version/release in rawhide: 0.10.10-3.fc35
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 15 Upstream Release Monitoring 2022-01-18 09:32:02 UTC
Latest upstream release: 0.12.0
Current version/release in rawhide: 0.10.10-3.fc35
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 16 Upstream Release Monitoring 2022-01-27 07:48:13 UTC
Latest upstream release: 0.12.1
Current version/release in rawhide: 0.10.10-4.fc36
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 17 Upstream Release Monitoring 2022-05-05 04:36:27 UTC
Latest upstream release: 0.12.2
Current version/release in rawhide: 0.10.10-5.fc37
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 18 Upstream Release Monitoring 2022-05-25 01:29:17 UTC
Latest upstream release: 0.12.3
Current version/release in rawhide: 0.10.10-5.fc37
URL: https://crates.io/crates/procs

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/76458/

Comment 19 Kevin Agwaze 2022-06-27 10:15:51 UTC
I managed to bump this package to v0.12.3, back-ported against it's current dependency versions in the fedora  rawhide repos.  

kodi scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=88796877

Patchset:
```
From a1261c4c2f3a78f56609e0c26fd22cd260cca52d Mon Sep 17 00:00:00 2001
From: Kevin Agwaze <kevin-agwaze>
Date: Sun, 26 Jun 2022 01:00:30 +0100
Subject: [PATCH] bumping to v0.12.3

---
 .gitignore              |  1 +
 procs-fix-metadata.diff | 95 ++++++++++++++++++++++++++++++++++-------
 rust-procs.spec         | 12 +++---
 sources                 |  2 +-
 4 files changed, 88 insertions(+), 22 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7decdb3..0f85d20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /procs-0.10.3.crate
 /procs-0.10.5.crate
 /procs-0.10.10.crate
+/procs-0.12.3.crate
diff --git a/procs-fix-metadata.diff b/procs-fix-metadata.diff
index 0a4e842..9844244 100644
--- a/procs-fix-metadata.diff
+++ b/procs-fix-metadata.diff
@@ -1,35 +1,64 @@
---- procs-0.10.10/Cargo.toml	2020-11-26T01:18:03+00:00
-+++ procs-0.10.10/Cargo.toml	2020-12-15T20:47:21.423279+00:00
-@@ -81,10 +81,6 @@
- [dependencies.directories]
- version = "3"
+--- procs-0.12.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ procs-0.12.3/Cargo.toml	2022-06-24T14:46:26.578443+00:00
+@@ -94,20 +94,16 @@
+ features = ["derive"]
+ 
+ [dependencies.clap_complete]
+-version = "3.1.4"
++version = "3.0.6"
+ 
+ [dependencies.console]
+ version = "0.15.0"
  
+ [dependencies.directories]
+-version = "4.0.1"
+-
 -[dependencies.dockworker]
--version = "0.0.19"
+-version = "0.0.23"
 -optional = true
--
++version = "3.0.2"
+ 
  [dependencies.getch]
- version = "0.2"
+-version = "0.3.1"
++version = "0.2.1"
+ 
+ [dependencies.lazy_static]
+ version = "1.2"
+@@ -122,7 +118,7 @@
+ version = "1.0"
+ 
+ [dependencies.termbg]
+-version = "0.4.1"
++version = "0.4.0"
  
-@@ -109,9 +105,6 @@
+ [dependencies.toml]
+ version = "0.5"
+@@ -130,48 +126,17 @@
  [dependencies.unicode-width]
  version = "0.1"
  
 -[features]
 -default = ["docker"]
 -docker = ["dockworker"]
- [target."cfg(target_os = \"linux\")".dependencies.pager]
+-
+ [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dependencies.pager]
  version = "0.16"
  
-@@ -123,23 +116,7 @@
+ [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dependencies.procfs]
+-version = "0.12.0"
++version = "0.9.1"
+ 
+ [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dependencies.users]
+ version = "0.11"
  
- [target."cfg(target_os = \"linux\")".dependencies.which]
+ [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dependencies.which]
  version = "4"
+-
 -[target."cfg(target_os = \"macos\")".dependencies.errno]
 -version = "0.2"
- 
+-
 -[target."cfg(target_os = \"macos\")".dependencies.libproc]
--version = "0.9"
+-version = "0.12"
 -
 -[target."cfg(target_os = \"macos\")".dependencies.pager]
 -version = "0.16"
@@ -39,9 +68,43 @@
 -
 -[target."cfg(target_os = \"macos\")".dependencies.which]
 -version = "4"
+-
 -[target."cfg(target_os = \"windows\")".dependencies.winapi]
 -version = "0.3"
--features = ["handleapi", "minwindef", "psapi", "securitybaseapi", "tlhelp32", "winbase", "winnt"]
+-features = [
+-    "handleapi",
+-    "minwindef",
+-    "psapi",
+-    "securitybaseapi",
+-    "tlhelp32",
+-    "winbase",
+-    "winnt",
+-]
+ 
  [badges.codecov]
  branch = "master"
- repository = "dalance/procs"
+
+
+--- procs-0.12.3/src/columns/usage_mem.rs	1973-11-29 21:33:09.000000000 +0000
++++ procs-0.12.3/src/columns/usage_mem.rs	2022-06-24 15:53:12.970311182 +0100
+@@ -81,7 +81,7 @@
+ impl Column for UsageMem {
+     fn add(&mut self, proc: &ProcessInfo) {
+         let usage =
+-            proc.curr_proc.stat().rss_bytes().unwrap_or(0) as f64 * 100.0 / self.mem_total as f64;
++            proc.curr_proc.stat().rss_bytes() as f64 * 100.0 / self.mem_total as f64;
+         let fmt_content = format!("{:.1}", usage);
+         let raw_content = (usage * 1000.0) as u32;
+
+
+--- procs-0.12.3/src/columns/vm_rss.rs	1973-11-29 21:33:09.000000000 +0000
++++ procs-0.12.3/src/columns/vm_rss.rs	2022-06-24 15:55:24.473944994 +0100
+@@ -29,7 +29,7 @@
+ #[cfg(any(target_os = "linux", target_os = "android"))]
+ impl Column for VmRss {
+     fn add(&mut self, proc: &ProcessInfo) {
+-        let raw_content = proc.curr_proc.stat().rss_bytes().unwrap_or(0) as u64;
++        let raw_content = proc.curr_proc.stat().rss_bytes() as u64;
+         let fmt_content = bytify(raw_content);
+ 
+         self.fmt_contents.insert(proc.pid, fmt_content);
diff --git a/rust-procs.spec b/rust-procs.spec
index e561f92..e64333c 100644
--- a/rust-procs.spec
+++ b/rust-procs.spec
@@ -1,12 +1,11 @@
-# Generated by rust2rpm 16
+# Generated by rust2rpm 21
 %bcond_without check
-%global __cargo_skip_build 0
 
 %global crate procs
 
 Name:           rust-%{crate}
-Version:        0.10.10
-Release:        5%{?dist}
+Version:        0.12.3
+Release:        1%{?dist}
 Summary:        Modern replacement for ps
 
 # Upstream license specification: MIT
@@ -20,7 +19,7 @@ Patch0:         procs-fix-metadata.diff
 
 ExclusiveArch:  %{rust_arches}
 
-BuildRequires:  rust-packaging
+BuildRequires:  rust-packaging >= 21
 
 %global _description %{expand:
 Modern replacement for ps.}
@@ -63,6 +62,9 @@ License:        MIT and ASL 2.0 and zlib
 %endif
 
 %changelog
+* Fri Jun 24 2022 Kevin Agwaze <kevin-agwaze> - 0.12.3-1
+- Update to version 0.13.3
+
 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek.pl> - 0.10.10-5
 - Rebuild with package notes
 
diff --git a/sources b/sources
index f162a89..9aef40b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (procs-0.10.10.crate) = fd821e43473e10842337172dac0a6b0886d7e6d7c8d9e25da0425157da2e36b16414c987c3bcb7ea34ff931244210ce6b996309aa1592acd383e19f7fd21d66b
+SHA512 (procs-0.12.3.crate) = fe5c476c4f0d2fc1c86e2c3beb740db20330579ea34521866766d2b87e8188f5f65ffb944f3598413da58bc06ec0804c557b28e5c14ce0f2982681f06cc893e4
-- 
2.36.1
```

Comment 20 Fedora Update System 2022-07-27 15:36:15 UTC
FEDORA-2022-25a9d590a8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-25a9d590a8

Comment 21 Fedora Update System 2022-07-27 15:38:27 UTC
FEDORA-2022-25a9d590a8 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.