|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate aead
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.2
|
|
|
|
|
Version: 0.4.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Traits for Authenticated Encryption with Associated Data (AEAD) algorithms
|
|
|
|
|
Summary: Traits for AEAD algorithms
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
@ -22,7 +22,8 @@ BuildArch: noarch
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Traits for Authenticated Encryption with Associated Data (AEAD) algorithms.}
|
|
|
|
|
Traits for Authenticated Encryption with Associated Data (AEAD) algorithms,
|
|
|
|
|
such as AES-GCM as ChaCha20Poly1305, which provide a high-level API.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -37,7 +38,7 @@ which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
|
%doc README.md
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -88,6 +89,18 @@ which use "dev" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+dev-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rand_core-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rand_core-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "rand_core" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rand_core-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -100,6 +113,18 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+stream-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+stream-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "stream" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+stream-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|