Update to version 1.18.0; Fixes RHBZ#2244888

epel9 imports/e9/rust-hyperfine-1.18.0-1.el9
Fabio Valentini 1 year ago
parent 02be2ce91a
commit eb765616da
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/hyperfine-1.14.0.crate
/hyperfine-1.16.1.crate
/hyperfine-1.17.0.crate
/hyperfine-1.18.0.crate

@ -1,5 +1,5 @@
--- hyperfine-1.17.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ hyperfine-1.17.0/Cargo.toml 2023-06-04T15:29:04.391654+00:00
--- hyperfine-1.18.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ hyperfine-1.18.0/Cargo.toml 2023-10-19T14:43:21.468441+00:00
@@ -102,9 +102,6 @@
[features]
windows_process_extensions_main_thread_handle = []

@ -1,10 +1,11 @@
--- hyperfine-1.17.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ hyperfine-1.17.0/Cargo.toml 2023-06-04T15:29:12.344688+00:00
@@ -26,7 +26,6 @@
[profile.release]
lto = true
codegen-units = 1
-strip = true
--- hyperfine-1.18.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ hyperfine-1.18.0/Cargo.toml 2023-10-19T14:43:30.241482+00:00
@@ -54,7 +54,7 @@
version = "1.1"
[dependencies.anyhow]
version = "1.0"
[dependencies.indicatif]
-version = "=0.17.4"
+version = "0.17.4"
[dependencies.rand]
version = "0.8"

@ -1,24 +1,23 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 25
%bcond_without check
%global crate hyperfine
Name: rust-hyperfine
Version: 1.17.0
Version: 1.18.0
Release: %autorelease
Summary: Command-line benchmarking tool
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hyperfine
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: hyperfine-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop incompatible "strip = true" cargo setting
# * relax indicatif dependency from =0.17.4 to ^0.17.4
Patch: hyperfine-fix-metadata.diff
BuildRequires: rust-packaging >= 23
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A command-line benchmarking tool.}
@ -52,7 +51,7 @@ License: MIT AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR M
%{zsh_completions_dir}/_hyperfine
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -60,7 +59,7 @@ License: MIT AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR M
%build
%cargo_build
%cargo_license_summary
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install

@ -1 +1 @@
SHA512 (hyperfine-1.17.0.crate) = 3101883b694bd641b83bb7b93a9b30a7e3b0c61f70473d179c5b32b6ca3cfdff339e1f80a017742e24be77cbc03891f42b6aa49da604e5ac1f6da1e76e5cfe69
SHA512 (hyperfine-1.18.0.crate) = 8193599cad9ebf51596461bcc3eadda788c1ac3e0e11cad731c8e2e337061fab48a9df0ad866faaa7ada5b819417109b1d1df50d14a8c7fd2e90d40385d7224b

Loading…
Cancel
Save