57 lines
2.5 KiB
RPMSpec
57 lines
2.5 KiB
RPMSpec
%global crate_name zeroize
|
|
%global full_version 1.9.0
|
|
%global pkgname zeroize-1
|
|
|
|
Name: rust-zeroize-1
|
|
Version: 1.9.0
|
|
Release: %autorelease
|
|
Summary: Rust crate "zeroize"
|
|
License: Apache-2.0 OR MIT
|
|
URL: https://github.com/RustCrypto/utils
|
|
#!RemoteAsset: sha256:e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e
|
|
Source: https://static.crates.io/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: rustcrates
|
|
|
|
BuildRequires: rust-rpm-macros
|
|
|
|
Provides: crate(%{pkgname}) = %{version}
|
|
Provides: crate(%{pkgname}/aarch64) = %{version}
|
|
Provides: crate(%{pkgname}/alloc) = %{version}
|
|
Provides: crate(%{pkgname}/default) = %{version}
|
|
Provides: crate(%{pkgname}/simd) = %{version}
|
|
Provides: crate(%{pkgname}/std) = %{version}
|
|
|
|
%description
|
|
Uses a portable pure Rust implementation that works everywhere, even WASM!
|
|
Source code for takopackized Rust crate "zeroize"
|
|
|
|
%package -n %{name}+serde
|
|
Summary: 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 - feature "serde"
|
|
Requires: crate(%{pkgname}) = %{version}
|
|
Requires: crate(serde-1) >= 1.0.0
|
|
Provides: crate(%{pkgname}/serde) = %{version}
|
|
|
|
%description -n %{name}+serde
|
|
Uses a portable pure Rust implementation that works everywhere, even WASM!
|
|
This metapackage enables feature "serde" for the Rust zeroize crate, by pulling in any additional dependencies needed by that feature.
|
|
|
|
%package -n %{name}+zeroize-derive
|
|
Summary: 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 - feature "zeroize_derive" and 1 more
|
|
Requires: crate(%{pkgname}) = %{version}
|
|
Requires: crate(zeroize-derive-1/default) >= 1.5.0
|
|
Provides: crate(%{pkgname}/derive) = %{version}
|
|
Provides: crate(%{pkgname}/zeroize-derive) = %{version}
|
|
|
|
%description -n %{name}+zeroize-derive
|
|
Uses a portable pure Rust implementation that works everywhere, even WASM!
|
|
This metapackage enables feature "zeroize_derive" for the Rust zeroize crate, by pulling in any additional dependencies needed by that feature.
|
|
|
|
Additionally, this package also provides the "derive" feature.
|
|
|
|
%files
|
|
%{_datadir}/cargo/registry/%{crate_name}-%{version}/
|
|
|
|
%changelog
|
|
%autochangelog
|