diff --git a/rust-aead.spec b/rust-aead.spec index 1dcd108..105017a 100644 --- a/rust-aead.spec +++ b/rust-aead.spec @@ -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 diff --git a/sources b/sources index 83a5860..c639659 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aead-0.3.2.crate) = 803829ea12f3fe11c1e1f4d33610c361a11b33811ab28185ad4b54d9026384b8778c3e57cdc6feff8ffc56792b482fc64a8cb7daa14805edbbcd988c2d3256ea +SHA512 (aead-0.4.2.crate) = 6c5269a499b80c2ee392acc8951982cb0e16f3c7f00df326fc46625de1f35f128f94708f72ffa4e2a60aefe3c5c4a8d24b9185fcef09ff73bb975a031cec6319