From d3ad467e66a3cd24f510cba1f52e6c549ae225ef Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 16 Mar 2023 18:02:56 +0100 Subject: [PATCH] Update to version 0.5.1; Fixes RHBZ#2110199 --- .rust2rpm.conf | 3 -- README.md | 3 -- rust-aead.spec | 78 ++++++++++++++++++++++++++++++++++++-------------- sources | 2 +- 4 files changed, 58 insertions(+), 28 deletions(-) delete mode 100644 .rust2rpm.conf delete mode 100644 README.md diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index bb9bde1..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - heapless diff --git a/README.md b/README.md deleted file mode 100644 index de5d7a1..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-aead - -The rust-aead package diff --git a/rust-aead.spec b/rust-aead.spec index 60de713..50011e9 100644 --- a/rust-aead.spec +++ b/rust-aead.spec @@ -1,26 +1,24 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate aead -Name: rust-%{crate} -Version: 0.4.3 +Name: rust-aead +Version: 0.5.1 Release: %autorelease -Summary: Traits for AEAD algorithms +Summary: Traits for Authenticated Encryption with Associated Data -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/aead Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Traits for Authenticated Encryption with Associated Data (AEAD) algorithms, -such as AES-GCM as ChaCha20Poly1305, which provide a high-level API.} +Traits for Authenticated Encryption with Associated Data (AEAD) +algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a high- +level API.} %description %{_description} @@ -34,9 +32,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+blobby-devel Summary: %{summary} @@ -72,7 +72,19 @@ This package contains library source intended for building other packages which use the "blobby" feature of the "%{crate}" crate. %files -n %{name}+blobby-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bytes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytes-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytes" feature of the "%{crate}" crate. + +%files -n %{name}+bytes-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dev-devel Summary: %{summary} @@ -84,7 +96,31 @@ This package contains library source intended for building other packages which use the "dev" feature of the "%{crate}" crate. %files -n %{name}+dev-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+getrandom-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+getrandom-devel %{_description} + +This package contains library source intended for building other packages which +use the "getrandom" feature of the "%{crate}" crate. + +%files -n %{name}+getrandom-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+heapless-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+heapless-devel %{_description} + +This package contains library source intended for building other packages which +use the "heapless" feature of the "%{crate}" crate. + +%files -n %{name}+heapless-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_core-devel Summary: %{summary} @@ -96,7 +132,7 @@ This package contains library source intended for building other packages which use the "rand_core" feature of the "%{crate}" crate. %files -n %{name}+rand_core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -108,7 +144,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stream-devel Summary: %{summary} @@ -120,7 +156,7 @@ This package contains library source intended for building other packages which use the "stream" feature of the "%{crate}" crate. %files -n %{name}+stream-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 54906c1..7a5bf51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aead-0.4.3.crate) = c1f700a35c5933acc38ca6aa2cb945c4676a4765802d6021c35631de5ace35390a9dc877c1669cfd8789716a73b0397dfe551c32f50774683b0b8573b54fbd77 +SHA512 (aead-0.5.1.crate) = 3a517a141eafee7e1f9b05fad61c5424352d3ee96667b5a057a5ce7c39b9705f975d5fb29a2a5c7824bef9c0268437b32ce1ee04078ac5571b06e1cd4c852e04