Compare commits

...

5 Commits

Author SHA1 Message Date
Fabio Valentini 4f9b8e2416
Update to version 1.16.0; Fixes RHBZ#2218589
2 years ago
Fabio Valentini 0b1fbb6a5d
Update to version 1.15.0; Fixes RHBZ#2155300
2 years ago
Fabio Valentini 4ee3a5f164
Update to version 1.14.0; Fixes RHBZ#2139900
2 years ago
Fabio Valentini 3875e405a6
Merge branch 'rawhide' into epel9
2 years ago
Igor Raits 0ceb1b3b9f
Rebuild
3 years ago

3
.gitignore vendored

@ -7,3 +7,6 @@
/num_cpus-1.12.0.crate
/num_cpus-1.13.0.crate
/num_cpus-1.13.1.crate
/num_cpus-1.14.0.crate
/num_cpus-1.15.0.crate
/num_cpus-1.16.0.crate

@ -1,3 +0,0 @@
# rust-num_cpus
The rust-num_cpus package

@ -0,0 +1,8 @@
--- num_cpus-1.16.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ num_cpus-1.16.0/Cargo.toml 2023-07-05T19:42:07.934520+00:00
@@ -28,5 +28,3 @@
[target."cfg(not(windows))".dependencies.libc]
version = "0.2.26"
-[target."cfg(target_os = \"hermit\")".dependencies.hermit-abi]
-version = "0.3.0"

@ -1,10 +0,0 @@
--- num_cpus-1.13.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ num_cpus-1.13.1/Cargo.toml 2021-12-20T20:31:04.071929+00:00
@@ -20,7 +20,5 @@
categories = ["hardware-support"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/seanmonstar/num_cpus"
-[target."cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))".dependencies.hermit-abi]
-version = "0.1.3"
[target."cfg(not(windows))".dependencies.libc]
version = "0.2.26"

@ -1,25 +1,21 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate num_cpus
Name: rust-%{crate}
Version: 1.13.1
Name: rust-num_cpus
Version: 1.16.0
Release: %autorelease
Summary: Get the number of CPUs on a machine
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/num_cpus
Source: %{crates_source}
# Initial patched metadata
# * drop non-linux-specific dependencies
Patch0: num_cpus-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: num_cpus-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Get the number of CPUs on a machine.}
@ -36,9 +32,12 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md CONTRIBUTING.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,7 +49,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (num_cpus-1.13.1.crate) = 91ffe0ec792228621d6c2d5cc544ef4744203d19fc9c86e0aad2610038c43aca0448b6c27d82979417a0f6c939ea73523303a44c28df0d1c1b8d09814d5306d9
SHA512 (num_cpus-1.16.0.crate) = a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d

Loading…
Cancel
Save