From 84694dc9069b70d382a1861b1e3b188dd5d6f4a8 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jun 24 2020 10:28:38 +0000 Subject: Update to 0.4.0 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 6920393..657411a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /aes-0.3.2.crate +/aes-0.4.0.crate diff --git a/aes-fix-metadata.diff b/aes-fix-metadata.diff index 2de6330..1b855e1 100644 --- a/aes-fix-metadata.diff +++ b/aes-fix-metadata.diff @@ -1,11 +1,11 @@ ---- aes-0.3.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ aes-0.3.2/Cargo.toml 2019-05-05T13:10:58.972288+00:00 -@@ -25,8 +25,5 @@ - [dev-dependencies.block-cipher-trait] - version = "0.6" +--- aes-0.4.0/Cargo.toml 2020-06-05T18:36:33+00:00 ++++ aes-0.4.0/Cargo.toml 2020-06-22T10:46:50.122774+00:00 +@@ -27,8 +27,5 @@ + [dev-dependencies.block-cipher] + version = "0.7" features = ["dev"] -[target."cfg(all(target_feature=\"aes\", target_feature = \"sse2\", any(target_arch = \"x86_64\", target_arch = \"x86\")))".dependencies.aesni] --version = "0.6" +-version = "0.7" -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.3" + version = "0.4" diff --git a/rust-aes.spec b/rust-aes.spec index bec8cb1..0f101b6 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 15 +%bcond_without check %global debug_package %{nil} %global crate aes Name: rust-%{crate} -Version: 0.3.2 -Release: 3%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Facade for AES (Rijndael) block ciphers implementations # Upstream license specification: MIT OR Apache-2.0 @@ -19,17 +19,14 @@ Source: %{crates_source} Patch0: aes-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(aes-soft/default) >= 0.3.0 with crate(aes-soft/default) < 0.4.0) -BuildRequires: (crate(block-cipher-trait/default) >= 0.6.0 with crate(block-cipher-trait/default) < 0.7.0) -%if %{with check} -BuildRequires: (crate(block-cipher-trait/default) >= 0.6.0 with crate(block-cipher-trait/default) < 0.7.0) -BuildRequires: (crate(block-cipher-trait/dev) >= 0.6.0 with crate(block-cipher-trait/dev) < 0.7.0) -%endif -%global _description \ -Facade for AES (Rijndael) block ciphers implementations. +%global _description %{expand: +Facade for AES (Rijndael) block ciphers implementations.} %description %{_description} @@ -44,7 +41,8 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version}/ +%doc README.md CHANGELOG.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -56,12 +54,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -74,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Jun 22 12:46:50 CEST 2020 Igor Raits - 0.4.0-1 +- Update to 0.4.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index b968080..cf82343 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.3.2.crate) = 0dde257064659ae0d7b13d12e538f2cf2f35d2f3cac2f3e0cf3a2dba0a4a89bb78377e85382cf82b95e347f34ae3c27bb145441d50f20e595c069445560a9e04 +SHA512 (aes-0.4.0.crate) = d9ccbbe20ff888d7768d1c3c601935884fd61582f232b07cd76c83c824f3839dd6cea1e6d3d6fd176b59759d668422f63f8112c40fcff082fba42c28246dbea7