Update to version 0.2.4; Fixes RHBZ#2066007

epel9
Fabio Valentini 3 years ago
parent cf963a76da
commit d555597bc0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/constant_time_eq-0.1.5.crate /constant_time_eq-0.1.5.crate
/constant_time_eq-0.2.4.crate

@ -0,0 +1,13 @@
--- constant_time_eq-0.2.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ constant_time_eq-0.2.4/Cargo.toml 2022-08-10T21:38:31.152983+00:00
@@ -30,10 +30,3 @@
[[bench]]
name = "bench"
harness = false
-
-[dev-dependencies.criterion]
-version = "0.3"
-features = [
- "cargo_bench_support",
- "html_reports",
-]

@ -1,25 +1,24 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate constant_time_eq %global crate constant_time_eq
Name: rust-%{crate} Name: rust-constant_time_eq
Version: 0.1.5 Version: 0.2.4
Release: %autorelease Release: %autorelease
Summary: Compares two equal-sized byte strings in constant time Summary: Compares two equal-sized byte strings in constant time
# Upstream license specification: CC0-1.0 License: CC0-1.0 OR MIT-0 OR Apache-2.0
License: CC0
URL: https://crates.io/crates/constant_time_eq URL: https://crates.io/crates/constant_time_eq
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: constant_time_eq-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Compares two equal-sized byte strings in constant time.} Compares two equal-sized byte strings in constant time.}
@ -32,13 +31,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE.txt %license %{crate_instdir}/LICENSE-APACHE
%doc README %license %{crate_instdir}/LICENSE-CC0
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-MIT0
%doc %{crate_instdir}/README
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,11 +47,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (constant_time_eq-0.1.5.crate) = a4e0155a7ad72babcfd418d832d362b3fca7333aaaf36c246b00e948983837c3c93378b86e37c5fa7626fe137e3b6d77276ccc61624a7f4ab914605905a88a01 SHA512 (constant_time_eq-0.2.4.crate) = 61f201f6d51b4c07607ea23701f340e6a204ff04073ee71b4102c2ef8119a2629d89cacb1fb86060a3eb7cd5efbe577d33e15a6e7b5c121d1abb519f95c3b79a

Loading…
Cancel
Save