From 8a489152f62f5e28348c02c3069bd2668a40cd61 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 Aug 2021 20:52:47 +0200 Subject: [PATCH] Update to version 0.9.2; Fixes RHBZ#1955340 --- .gitignore | 1 + .rust2rpm.conf | 3 +++ rust-aes-gcm.spec | 42 +++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 4 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 573d1ce..6456158 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /aes-gcm-0.8.0.crate +/aes-gcm-0.9.2.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..bb9bde1 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + heapless diff --git a/rust-aes-gcm.spec b/rust-aes-gcm.spec index f5ea896..7001876 100644 --- a/rust-aes-gcm.spec +++ b/rust-aes-gcm.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate aes-gcm Name: rust-%{crate} -Version: 0.8.0 +Version: 0.9.2 Release: %autorelease -Summary: AES-GCM (Galois/Counter Mode) AEAD Cipher implementation +Summary: Pure Rust implementation of the AES-GCM AEAD Cipher # Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT @@ -78,6 +78,30 @@ which use "alloc" feature of "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+armv8-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+armv8-devel %{_description} + +This package contains library source intended for building other packages +which use "armv8" feature of "%{crate}" crate. + +%files -n %{name}+armv8-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+force-soft-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-soft-devel %{_description} + +This package contains library source intended for building other packages +which use "force-soft" feature of "%{crate}" crate. + +%files -n %{name}+force-soft-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -90,6 +114,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 + %package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 20b00bc..90dd520 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-gcm-0.8.0.crate) = 7ee59aa0d08bdd8627a471a57ab6bbc14686290e808b0909749cc08592ca6be76d1b83b5bbf16dbca34192be182f14d930729654b7a485bb448b0eb36a32f7e9 +SHA512 (aes-gcm-0.9.2.crate) = 0430f4b240651c0d51b7785c10f81d739e8c687c1476d938cbef3b4249541469ab429245b1a97711024fc81795022372c23d2a45c139be289efc4fa9e344ca70