Update to 0.28.0

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 02c05e3b6c
commit 3b892a6227
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -28,3 +28,4 @@
/sysinfo-0.23.13.crate /sysinfo-0.23.13.crate
/sysinfo-0.24.7.crate /sysinfo-0.24.7.crate
/sysinfo-0.27.7.crate /sysinfo-0.27.7.crate
/sysinfo-0.28.0.crate

@ -5,7 +5,7 @@
%global crate sysinfo %global crate sysinfo
Name: rust-sysinfo Name: rust-sysinfo
Version: 0.27.7 Version: 0.28.0
Release: %autorelease Release: %autorelease
Summary: Library to get system information such as processes, CPUs, disks, components and networks Summary: Library to get system information such as processes, CPUs, disks, components and networks
@ -16,7 +16,6 @@ Source: %{crates_source}
Patch: sysinfo-fix-metadata-auto.diff Patch: sysinfo-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * drop macOS-specific features # * drop macOS-specific features
# * drop unused cdylib build target
Patch: sysinfo-fix-metadata.diff Patch: sysinfo-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -103,6 +102,18 @@ use the "rayon" feature of the "%{crate}" crate.
%files -n %{name}+rayon-devel %files -n %{name}+rayon-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
@ -116,15 +127,15 @@ use the "rayon" feature of the "%{crate}" crate.
%install %install
%cargo_install %cargo_install
%if %{with check}
%check %check
# skip tests that fail when run on vms, on tmpfs, or in systemd-nspawn # skip tests that fail when run on vms, on tmpfs, or in systemd-nspawn
%if 0%{?fedora} >= 38 %if 0%{?fedora} >= 38
SKIP_TESTS="" SKIP_TESTS=""
%else %else
SKIP_TESTS=" --skip test_disks" SKIP_TESTS=" --skip test::check_all_process_uids_resolvable --skip test_disks"
%endif %endif
%if %{with check}
%ifarch s390x %ifarch s390x
# these tests panic with assertion failures on s390x # these tests panic with assertion failures on s390x
SKIP_TESTS+=" --skip test::check_cpus_number --skip test::check_processes_cpu_usage" SKIP_TESTS+=" --skip test::check_cpus_number --skip test::check_processes_cpu_usage"

@ -1 +1 @@
SHA512 (sysinfo-0.27.7.crate) = f96f8a1717fe47c3c876b42abf5b56badff27c940da6e50c5c83e3becce3292306c203f1ec14656ccf6389c89a43b4194082d398a285c58e840f392e99139cdd SHA512 (sysinfo-0.28.0.crate) = 85687f7809d52209e38aa53432125b29dd193c13a48439204ff747564dce12bab1675c5f148b5001b0a5d9f30e91ec93265dd905248bd361e4340228a3fc6de5

@ -1,6 +1,6 @@
--- sysinfo-0.27.7/Cargo.toml 1970-01-01T00:00:01+00:00 --- sysinfo-0.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sysinfo-0.27.7/Cargo.toml 2023-02-16T20:14:29.958242+00:00 +++ sysinfo-0.28.0/Cargo.toml 2023-02-22T18:42:41.367029+00:00
@@ -52,51 +52,9 @@ @@ -58,52 +58,9 @@
[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"
@ -51,4 +51,5 @@
- "std", - "std",
- "iphlpapi", - "iphlpapi",
- "winsock2", - "winsock2",
- "sddl",
-] -]

@ -1,15 +1,7 @@
--- sysinfo-0.27.7/Cargo.toml 1970-01-01T00:00:01+00:00 --- sysinfo-0.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sysinfo-0.27.7/Cargo.toml 2023-02-16T20:14:44.222298+00:00 +++ sysinfo-0.28.0/Cargo.toml 2023-02-22T18:43:20.922551+00:00
@@ -30,7 +30,6 @@ @@ -47,13 +47,10 @@
name = "sysinfo" version = "1.0"
crate_type = [
"rlib",
- "cdylib",
]
[dependencies.cfg-if]
@@ -41,13 +40,10 @@
optional = true
[features] [features]
-apple-app-store = ["apple-sandbox"] -apple-app-store = ["apple-sandbox"]

Loading…
Cancel
Save