diff --git a/.gitignore b/.gitignore index 570fbfb..0235bc8 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /sysinfo-0.15.7.crate /sysinfo-0.15.8.crate /sysinfo-0.15.9.crate +/sysinfo-0.18.2.crate diff --git a/rust-sysinfo.spec b/rust-sysinfo.spec index 5429949..4109049 100644 --- a/rust-sysinfo.spec +++ b/rust-sysinfo.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate sysinfo Name: rust-%{crate} -Version: 0.15.9 -Release: 2%{?dist} +Version: 0.18.2 +Release: 1%{?dist} Summary: Library to get system information such as processes, processors, disks, components and networks # Upstream license specification: MIT @@ -42,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE -%doc README.md +%doc README.md ADDING_NEW_PLATFORMS.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -57,6 +57,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+apple-app-store-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+apple-app-store-devel %{_description} + +This package contains library source intended for building other packages +which use "apple-app-store" feature of "%{crate}" crate. + +%files -n %{name}+apple-app-store-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+c-interface-devel Summary: %{summary} BuildArch: noarch @@ -120,11 +132,17 @@ which use "rayon" feature of "%{crate}" crate. %if %{with check} %check -# https://github.com/GuillaumeGomez/sysinfo/issues/300 -%cargo_test -- -- --skip test_disks +# https://github.com/GuillaumeGomez/sysinfo/issues/517 +# https://github.com/GuillaumeGomez/sysinfo/issues/518 +# https://github.com/GuillaumeGomez/sysinfo/issues/519 +%cargo_test -- -- --skip test::check_uid_gid --skip test_disks --skip test_physical_core_numbers %endif %changelog +* Thu Jun 24 2021 Davide Cavalca - 0.18.2-1 +- Update to version 0.18.2. +- Fixes RHBZ#1922628 + * Wed Jan 27 2021 Fedora Release Engineering - 0.15.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 8987ece..174352c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sysinfo-0.15.9.crate) = 25ad303ffd8109c9b259ffe3c929b7724e97d05172e1253cc91faccd545ceb35988fb70a575f30ca1fb589850425cadaddf31b4882c3c0780d25473dbb3ff15b +SHA512 (sysinfo-0.18.2.crate) = 796655e2e75e4454c11e650671cb2212bbe312fd623ea2c8121a388c25b2da0d714f8c30c241f141f6693bb2f028cbc1fe65cdd8a0850137254bdd224059965a diff --git a/sysinfo-fix-metadata.diff b/sysinfo-fix-metadata.diff index 5e663ac..df5df58 100644 --- a/sysinfo-fix-metadata.diff +++ b/sysinfo-fix-metadata.diff @@ -1,16 +1,16 @@ ---- sysinfo-0.15.9/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ sysinfo-0.15.9/Cargo.toml 2021-01-13T22:14:55.761574+00:00 -@@ -45,13 +45,5 @@ - debug = ["libc/extra_traits"] - default = ["multithread"] +--- sysinfo-0.18.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ sysinfo-0.18.2/Cargo.toml 2021-06-24T16:17:16.097638+00:00 +@@ -46,13 +46,5 @@ multithread = ["rayon"] + [target."cfg(all(target_os = \"linux\", not(target_os = \"android\")))".dev-dependencies.tempfile] + version = "3.2" -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation-sys] -version = "0.8" [target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc] - version = "0.2" + version = "^0.2.94" -[target."cfg(windows)".dependencies.ntapi] -version = "0.3" - -[target."cfg(windows)".dependencies.winapi] --version = "0.3" +-version = "0.3.9" -features = ["fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi"]