From 973f6f458487696477ef0202a2f877ec77b0462c Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jun 22 2020 10:42:58 +0000 Subject: Update to 0.4.0 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index b89c56e..4b70f1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /aes-soft-0.3.3.crate +/aes-soft-0.4.0.crate diff --git a/rust-aes-soft.spec b/rust-aes-soft.spec index 8012157..5bd3cb1 100644 --- a/rust-aes-soft.spec +++ b/rust-aes-soft.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 15 +%bcond_without check %global debug_package %{nil} %global crate aes-soft Name: rust-%{crate} -Version: 0.3.3 -Release: 3%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: AES (Rijndael) block ciphers bit-sliced implementation # Upstream license specification: MIT OR Apache-2.0 @@ -15,18 +15,14 @@ URL: https://crates.io/crates/aes-soft Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(block-cipher-trait/default) >= 0.6.0 with crate(block-cipher-trait/default) < 0.7.0) -BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(opaque-debug/default) >= 0.2.0 with crate(opaque-debug/default) < 0.3.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 \ -AES (Rijndael) block ciphers bit-sliced implementation. +%global _description %{expand: +AES (Rijndael) block ciphers bit-sliced implementation.} %description %{_description} @@ -41,7 +37,8 @@ which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version}/ +%doc CHANGELOG.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,12 +50,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 @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Jun 22 12:42:10 CEST 2020 Igor Raits - 0.4.0-1 +- Update to 0.4.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index ea39fce..292a046 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-soft-0.3.3.crate) = 9c56f05d2e36da6e51e504eb9ef5de1ddb398cfe8ce025af0732794a62128613f2224a0e729b75b9a98a9d633e29eb1b23c67078769f33bb052e5abf0ce25a85 +SHA512 (aes-soft-0.4.0.crate) = 968d9b5d3e6c50632e0dc4a38b43bdca599322953cd7fbedd608d6c49f68dae180a5c627430767bef205c56d61dd2caec27e0b2a3fa48338dc9f623d93f386e9