|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zeroize
|
|
|
|
|
|
|
|
|
|
Name: rust-zeroize
|
|
|
|
|
Version: 1.5.7
|
|
|
|
|
Version: 1.8.1
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Securely clear secrets from memory
|
|
|
|
|
|
|
|
|
@ -13,15 +13,13 @@ License: Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/zeroize
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Securely clear secrets from memory with a simple trait built on stable Rust
|
|
|
|
|
primitives which guarantee memory is zeroed using an operation will not be
|
|
|
|
|
'optimized away' by the compiler. Uses a portable pure Rust implementation that
|
|
|
|
|
works everywhere, even WASM!.}
|
|
|
|
|
Securely clear secrets from memory with a simple trait built on stable
|
|
|
|
|
Rust primitives which guarantee memory is zeroed using an operation will
|
|
|
|
|
not be 'optimized away' by the compiler. Uses a portable pure Rust
|
|
|
|
|
implementation that works everywhere, even WASM!.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -101,6 +99,18 @@ use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+simd-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+simd-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "simd" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+simd-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -126,7 +136,7 @@ use the "zeroize_derive" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|