diff --git a/.gitignore b/.gitignore index 1860630..17b5053 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /sysinfo-0.14.11.crate /sysinfo-0.15.3.crate /sysinfo-0.15.4.crate +/sysinfo-0.15.6.crate diff --git a/rust-sysinfo.spec b/rust-sysinfo.spec index 95e7671..f49fcc9 100644 --- a/rust-sysinfo.spec +++ b/rust-sysinfo.spec @@ -5,7 +5,7 @@ %global crate sysinfo Name: rust-%{crate} -Version: 0.15.4 +Version: 0.15.6 Release: 1%{?dist} Summary: Library to get system information such as processes, processors, disks, components and networks @@ -81,6 +81,30 @@ which use "debug" feature of "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+multithread-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+multithread-devel %{_description} + +This package contains library source intended for building other packages +which use "multithread" feature of "%{crate}" crate. + +%files -n %{name}+multithread-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages +which use "rayon" feature of "%{crate}" crate. + +%files -n %{name}+rayon-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -101,6 +125,10 @@ which use "debug" feature of "%{crate}" crate. %endif %changelog +* Sat Jan 09 2021 Fabio Valentini - 0.15.6-1 +- Update to version 0.15.6. +- Fixes RHBZ#1913228 + * Mon Jan 04 2021 Fabio Valentini - 0.15.4-1 - Update to version 0.15.4. - Fixes RHBZ#1911919 diff --git a/sources b/sources index 956b6ab..d2b6f22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sysinfo-0.15.4.crate) = 47452fc3f3327a6a7307dd4dca1393c42f36233a248e77755d926962b1fd6486d0c60c7dbc98f571365f45ab45c8ee93936ff885f2e4d3552e6237ac7b9b061d +SHA512 (sysinfo-0.15.6.crate) = 2094995fec226511ed0b90ce055aaf4f137fc0895287310381504908b60e5058c0e7ac4506c97e12d5f7a883bfc725e40e7e70eb9687079a6640063ea835a682 diff --git a/sysinfo-fix-metadata.diff b/sysinfo-fix-metadata.diff index dfb8440..b7ba79e 100644 --- a/sysinfo-fix-metadata.diff +++ b/sysinfo-fix-metadata.diff @@ -1,9 +1,9 @@ ---- sysinfo-0.15.4/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ sysinfo-0.15.4/Cargo.toml 2021-01-04T12:57:49.531780+00:00 -@@ -40,18 +40,8 @@ - [features] - c-interface = [] +--- sysinfo-0.15.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ sysinfo-0.15.6/Cargo.toml 2021-01-09T19:41:00.521881+00:00 +@@ -43,18 +43,8 @@ debug = ["libc/extra_traits"] + default = ["multithread"] + multithread = ["rayon"] -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation-sys] -version = "0.8" -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".build-dependencies.cc]