diff --git a/.gitignore b/.gitignore index afbb609..99f8135 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hyperfine-1.9.0.crate /hyperfine-1.10.0.crate /hyperfine-1.11.0.crate +/hyperfine-1.12.0.crate diff --git a/hyperfine-fix-metadata.diff b/hyperfine-fix-metadata.diff index a5607ad..23bac6f 100644 --- a/hyperfine-fix-metadata.diff +++ b/hyperfine-fix-metadata.diff @@ -1,16 +1,7 @@ ---- hyperfine-1.11.0/Cargo.toml 2020-10-16T22:24:53+00:00 -+++ hyperfine-1.11.0/Cargo.toml 2021-06-28T13:23:32.386078+00:00 -@@ -60,7 +60,7 @@ - [dependencies.statistical] - version = "1.0" - [dev-dependencies.approx] --version = "0.3" -+version = "0.5" - [build-dependencies.atty] - version = "0.2" - -@@ -71,6 +71,3 @@ - version = "0.9" +--- hyperfine-1.12.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ hyperfine-1.12.0/Cargo.toml 2022-01-12T15:09:08.188113+00:00 +@@ -76,6 +76,3 @@ + version = "2" [target."cfg(not(windows))".dependencies.libc] version = "0.2" -[target."cfg(windows)".dependencies.winapi] diff --git a/rust-hyperfine.spec b/rust-hyperfine.spec index 99c48eb..8f7b35b 100644 --- a/rust-hyperfine.spec +++ b/rust-hyperfine.spec @@ -1,11 +1,10 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check -%global __cargo_skip_build 0 %global crate hyperfine Name: rust-%{crate} -Version: 1.11.0 +Version: 1.12.0 Release: %autorelease Summary: Command-line benchmarking tool @@ -14,8 +13,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/hyperfine Source: %{crates_source} # Initial patched metadata -# * No windows -# * Bump approx from 0.3 to 0.5 +# * drop windows-specific dependencies Patch0: hyperfine-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -35,13 +33,13 @@ Summary: %{summary} # MIT or ASL 2.0 # MPLv2.0 # Unlicense or MIT -License: ASL 2.0 and MIT and MPLv2.0 +License: MIT and MPLv2.0 and (ASL 2.0 or Boost) %description -n %{crate} %{_description} %files -n %{crate} -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{_bindir}/hyperfine %{_mandir}/man1/hyperfine.1* %dir %{_datadir}/bash-completion diff --git a/sources b/sources index 641ac3f..b5aa26d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyperfine-1.11.0.crate) = 60e6e9d4a2d4ea18a43255a3fd1934a06cde52e88f26ef42bb14bc2a19543a97fb62bd86bd62a9d2b1d2d382dead76e633e94eb11a5e84d5ab4b32c321fc6764 +SHA512 (hyperfine-1.12.0.crate) = 3340f47ee21457270a166a08b6dcc9d253ea481f91a401c29b59b88d3a5ae561e087447dc1b3b01e7f6f2307ea613025c9dd474d473bbd24e413b3cbe5b5dffa