initial import

epel9
Peter Robinson 5 years ago
parent 7a0b2ddc17
commit 1f2c0c473b

1
.gitignore vendored

@ -0,0 +1 @@
/zeroize-*.crate

@ -0,0 +1,107 @@
# Generated by rust2rpm 13
# https://github.com/iqlusioninc/crates/issues/474
%bcond_with check
%global debug_package %{nil}
%global crate zeroize
Name: rust-%{crate}
Version: 1.1.0
Release: 2%{?dist}
Summary: Securely clear secrets from memory
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/zeroize
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%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!.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
# include ASL - https://github.com/iqlusioninc/crates/issues/475
%license LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages
which use "alloc" feature of "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+zeroize_derive-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize_derive-devel %{_description}
This package contains library source intended for building other packages
which use "zeroize_derive" feature of "%{crate}" crate.
%files -n %{name}+zeroize_derive-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Tue Jul 21 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.0-2
- Review updates
* Thu Jul 16 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (zeroize-1.1.0.crate) = 19ebb9515b7c8bc384c180e4ec8b6f77dc84fbc49a3690af972918b2ca73695b935d4673ff17ec8ae95a1824e5b261838e656e7939f10e3b14b3b984180aecbd
Loading…
Cancel
Save