diff --git a/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff b/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff index 0091bf4a7d..f9fdd38559 100644 --- a/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff +++ b/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff @@ -1,16 +1,20 @@ ---- bandwhich-0.20.0/Cargo.toml 2020-10-15T09:07:04+00:00 -+++ bandwhich-0.20.0/Cargo.toml 2020-10-15T09:07:04+00:00 -@@ -83,13 +83,3 @@ - version = "1" +--- bandwhich-0.21.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ bandwhich-0.21.0/Cargo.toml 2023-09-21T07:50:16.506970+00:00 +@@ -104,17 +104,3 @@ [target."cfg(target_os=\"linux\")".dependencies.procfs] - version = "0.7.4" + version = "0.15.1" + -[target."cfg(target_os=\"windows\")".dependencies.netstat2] --version = "0.9.0" +-version = "0.9.1" - -[target."cfg(target_os=\"windows\")".dependencies.sysinfo] --version = "0.15.1" +-version = "0.29.10" +- +-[target."cfg(target_os=\"windows\")".build-dependencies.anyhow] +-version = "1.0.75" +- -[target."cfg(target_os=\"windows\")".build-dependencies.http_req] --version = "0.7.0" +-version = "0.9.3" - -[target."cfg(target_os=\"windows\")".build-dependencies.zip] --version = "0.5.6" +-version = "0.6.6" diff --git a/anda/rust/bandwhich/rust-bandwhich.spec b/anda/rust/bandwhich/rust-bandwhich.spec index 957ac5c18d..c18d71e3b0 100644 --- a/anda/rust/bandwhich/rust-bandwhich.spec +++ b/anda/rust/bandwhich/rust-bandwhich.spec @@ -1,17 +1,20 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 +#bcond_without check + %global crate bandwhich Name: rust-bandwhich Version: 0.21.0 -Release: 1%{?dist} -Summary: Show network utilization by process/connection/hostname/IP +Release: %autorelease +Summary: Display current network utilization by process, connection and remote IP/hostname + License: MIT URL: https://crates.io/crates/bandwhich Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: bandwhich-fix-metadata-auto.diff -BuildRequires: anda-srpm-macros rust-packaging >= 21 +BuildRequires: anda-srpm-macros rust-packaging >= 23 %global _description %{expand: Display current network utilization by process, connection and remote @@ -21,11 +24,13 @@ IP/hostname.} %package -n %{crate} Summary: %{summary} +License: MIT %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.md +%license LICENSE.dependencies %doc CHANGELOG.md %doc CODE_OF_CONDUCT.md %doc CONTRIBUTING.md @@ -38,6 +43,8 @@ Summary: %{summary} %build %cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies %install %cargo_install