Update to version 0.7.4; Fixes RHBZ#1955132

epel9
Fabio Valentini 4 years ago
parent 75a911bd62
commit 9da9e67396
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/aes-0.3.2.crate /aes-0.3.2.crate
/aes-0.4.0.crate /aes-0.4.0.crate
/aes-0.6.0.crate /aes-0.6.0.crate
/aes-0.7.4.crate

@ -1,11 +0,0 @@
--- aes-0.6.0/Cargo.toml 2020-10-16T14:24:30+00:00
+++ aes-0.6.0/Cargo.toml 2020-11-06T13:16:51.957588+00:00
@@ -27,8 +27,5 @@
[dev-dependencies.cipher]
version = "0.2"
features = ["dev"]
-[target."cfg(all(target_feature=\"aes\", target_feature = \"sse2\", any(target_arch = \"x86_64\", target_arch = \"x86\")))".dependencies.aesni]
-version = "0.10"
-default-features = false
[target."cfg(not(all(target_feature=\"aes\", target_feature = \"sse2\", any(target_arch = \"x86_64\", target_arch = \"x86\"))))".dependencies.aes-soft]
version = "0.6"

@ -1,21 +1,18 @@
# Generated by rust2rpm 15 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate aes %global crate aes
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.6.0 Version: 0.7.4
Release: %autorelease Release: %autorelease
Summary: Facade for AES (Rijndael) block ciphers implementations Summary: Pure Rust implementation of the Advanced Encryption Standard
# Upstream license specification: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/aes URL: https://crates.io/crates/aes
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * drop dependency on aesni (only required if aes and sse2 are enabled)
Patch0: aes-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -25,7 +22,8 @@ BuildArch: noarch
BuildRequires: rust-packaging BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Facade for AES (Rijndael) block ciphers implementations.} Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)
including support for AES in counter mode (a.k.a. AES-CTR).}
%description %{_description} %description %{_description}
@ -55,6 +53,66 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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}+compact-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+compact-devel %{_description}
This package contains library source intended for building other packages
which use "compact" feature of "%{crate}" crate.
%files -n %{name}+compact-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+ctr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ctr-devel %{_description}
This package contains library source intended for building other packages
which use "ctr" feature of "%{crate}" crate.
%files -n %{name}+ctr-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}+hazmat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hazmat-devel %{_description}
This package contains library source intended for building other packages
which use "hazmat" feature of "%{crate}" crate.
%files -n %{name}+hazmat-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -1 +1 @@
SHA512 (aes-0.6.0.crate) = 65349285e429f9b8815743d86b3ebdececd48ce556a08b6ec5ec89bf966bc9b187a7df4fbe1f3b25172db3aab219b23f8040c1160359868e9f71d67a767c90c9 SHA512 (aes-0.7.4.crate) = 8bf470ae7a22cf413ad6971ab19f115a5a8f99579f7b121691de065721e9f70bfc95c33e54cf5b7ca962d5fb4033a58f0c8edae11a970ba91b1fa286a0a2817d

Loading…
Cancel
Save