Update to 0.5.8

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 2bba6f4d7b
commit 467254eafd
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -3,3 +3,4 @@
/sys-info-0.5.5.crate
/sys-info-0.5.6.crate
/sys-info-0.5.7.crate
/sys-info-0.5.8.crate

@ -1,32 +1,34 @@
# Generated by rust2rpm-9-1.fc30
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate sys-info
Name: rust-%{crate}
Version: 0.5.7
Release: 2%{?dist}
Version: 0.5.8
Release: 1%{?dist}
Summary: Get system information in Rust
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/sys-info
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0)
BuildRequires: (crate(libc/default) >= 0.2.29 with crate(libc/default) < 0.3.0)
%global _description \
Get system information in Rust.
%global _description %{expand:
Get system information in Rust.}
%description %{_description}
%package devel
Summary: %{summary}
Requires: %{_bindir}/hostname
Requires: /usr/bin/hostname
BuildArch: noarch
%description devel %{_description}
@ -55,6 +57,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -65,13 +70,16 @@ which use "default" feature of "%{crate}" crate.
%check
# https://github.com/FillZpp/sys-info-rs/issues/25
%ifarch ppc64 ppc64le
%cargo_test || :
%cargo_test -- -- --skip test::test_hostname --skip test::test_cpu_speed
%else
%cargo_test
%cargo_test -- -- --skip test::test_hostname
%endif
%endif
%changelog
* Wed Sep 11 10:24:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.8-1
- Update to 0.5.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (sys-info-0.5.7.crate) = 2c29067bdaaaf98c18850c8dd211cb3b0c38646f720afcb387846a4d92a1e56c5617c367fa4e2987831b7582039caeb1e45f827f5c6f0fc078bb69d1b243aa96
SHA512 (sys-info-0.5.8.crate) = d19bdb00c4c6a9ab2751c2b6821ed983ea7085d8260ad3cfcd879e6f9ff99e6bce74d7075b18cc731ab742b6413b814b24ad19117a43fee3452f4944b4787565

Loading…
Cancel
Save