Update to version 0.23.13

epel9
Fabio Valentini 3 years ago
parent cee5898b66
commit 28bdf21c18
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -25,3 +25,4 @@
/sysinfo-0.15.9.crate /sysinfo-0.15.9.crate
/sysinfo-0.18.2.crate /sysinfo-0.18.2.crate
/sysinfo-0.19.2.crate /sysinfo-0.19.2.crate
/sysinfo-0.23.13.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate sysinfo %global crate sysinfo
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.19.2 Version: 0.23.13
Release: %autorelease Release: %autorelease
Summary: Library to get system information Summary: Library to get system information
@ -14,16 +14,13 @@ License: MIT
URL: https://crates.io/crates/sysinfo URL: https://crates.io/crates/sysinfo
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No Windows deps # * drop Windows-specific dependencies
# * No Mac OS deps # * drop AppleOS-specific dependencies and features
Patch0: sysinfo-fix-metadata.diff Patch0: sysinfo-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Library to get system information such as processes, processors, disks, Library to get system information such as processes, processors, disks,
@ -37,13 +34,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md CHANGELOG.md %doc %{crate_instdir}/ADDING_NEW_PLATFORMS.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,23 +50,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/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 %package -n %{name}+c-interface-devel
Summary: %{summary} Summary: %{summary}
@ -75,11 +62,11 @@ BuildArch: noarch
%description -n %{name}+c-interface-devel %{_description} %description -n %{name}+c-interface-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "c-interface" feature of "%{crate}" crate. use the "c-interface" feature of the "%{crate}" crate.
%files -n %{name}+c-interface-devel %files -n %{name}+c-interface-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+debug-devel %package -n %{name}+debug-devel
Summary: %{summary} Summary: %{summary}
@ -87,11 +74,11 @@ BuildArch: noarch
%description -n %{name}+debug-devel %{_description} %description -n %{name}+debug-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "debug" feature of "%{crate}" crate. use the "debug" feature of the "%{crate}" crate.
%files -n %{name}+debug-devel %files -n %{name}+debug-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+multithread-devel %package -n %{name}+multithread-devel
Summary: %{summary} Summary: %{summary}
@ -99,11 +86,11 @@ BuildArch: noarch
%description -n %{name}+multithread-devel %{_description} %description -n %{name}+multithread-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "multithread" feature of "%{crate}" crate. use the "multithread" feature of the "%{crate}" crate.
%files -n %{name}+multithread-devel %files -n %{name}+multithread-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rayon-devel %package -n %{name}+rayon-devel
Summary: %{summary} Summary: %{summary}
@ -111,11 +98,11 @@ BuildArch: noarch
%description -n %{name}+rayon-devel %{_description} %description -n %{name}+rayon-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "rayon" feature of "%{crate}" crate. use the "rayon" feature of the "%{crate}" crate.
%files -n %{name}+rayon-devel %files -n %{name}+rayon-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
@ -132,10 +119,8 @@ which use "rayon" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# https://github.com/GuillaumeGomez/sysinfo/issues/517 # * skip tests that fail when run on VMs, on tmpfs, or in systemd-nspawn
# https://github.com/GuillaumeGomez/sysinfo/issues/518 %cargo_test -- -- --skip test::check_processes_cpu_usage --skip test::check_processors_number --skip test_disks
# https://github.com/GuillaumeGomez/sysinfo/issues/519
%cargo_test -- -- --skip test::check_uid_gid --skip test_disks --skip test_physical_core_numbers
%endif %endif
%changelog %changelog

@ -1 +1 @@
SHA512 (sysinfo-0.19.2.crate) = aa27977890afb37b8d6e3467302b301ce7076c53224808a361f1c2780038d0779a719e9a90fede64379cf7f3d391dbe557a79e393ddcc2c35faee17fc50f14a0 SHA512 (sysinfo-0.23.13.crate) = 9aab3bccb6dab2a2b82dc0abe23924d0993c67c06b8c2748fff61825f78c4e783f821d7f0a4b1bb8ac82f816e3542caf20f59868e5122b03086b958ed68e6cb6

@ -1,16 +1,56 @@
--- sysinfo-0.19.2/Cargo.toml 1970-01-01T00:00:01+00:00 --- sysinfo-0.23.13/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sysinfo-0.19.2/Cargo.toml 2021-08-01T21:10:35.883575+00:00 +++ sysinfo-0.23.13/Cargo.toml 2022-07-21T09:06:18.427214+00:00
@@ -46,13 +46,5 @@ @@ -45,53 +45,13 @@
optional = true
[features]
-apple-app-store = ["apple-sandbox"]
-apple-sandbox = []
c-interface = []
debug = ["libc/extra_traits"]
default = ["multithread"]
multithread = ["rayon"] multithread = ["rayon"]
-unknown-ci = []
[target."cfg(all(target_os = \"linux\", not(target_os = \"android\")))".dev-dependencies.tempfile] [target."cfg(all(target_os = \"linux\", not(target_os = \"android\")))".dev-dependencies.tempfile]
version = "3.2" version = "3.2"
-[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation-sys] -[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation-sys]
-version = "0.8" -version = "0.8"
-
[target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc] [target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc]
version = "^0.2.94" version = "^0.2.112"
-
-[target."cfg(windows)".dependencies.ntapi] -[target."cfg(windows)".dependencies.ntapi]
-version = "0.3" -version = "0.3"
- -
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9" -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"] -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",
- "std",
-]

Loading…
Cancel
Save