diff --git a/.gitignore b/.gitignore index 85b8bb5..c0b5f59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /keccak-0.1.0.crate /keccak-0.1.2.crate +/keccak-0.1.3.crate diff --git a/rust-keccak.spec b/rust-keccak.spec index db826c2..232219c 100644 --- a/rust-keccak.spec +++ b/rust-keccak.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate keccak Name: rust-keccak -Version: 0.1.2 +Version: 0.1.3 Release: %autorelease Summary: Pure Rust implementation of the Keccak sponge function @@ -13,8 +13,6 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/keccak Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -51,6 +49,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "asm" feature of the "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+no_unroll-devel Summary: %{summary} BuildArch: noarch @@ -78,6 +88,8 @@ use the "simd" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +# remove obsolete license file: https://github.com/RustCrypto/sponges/issues/29 +rm LICENSE %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 8aac9a0..b1fe81b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (keccak-0.1.2.crate) = 65b308152fa19c8991f1bfc65b38cf4f922be38abd905fb75acba1c3b751310e9e91a7f8d5ebc25c875a2773c4197961fb1e188d13756933d470507aab53439d +SHA512 (keccak-0.1.3.crate) = 112e131dbd3c97bed3a438dcbe152859de868c8b11fc544f5e15c19dc5a9d2c27d35f43c1bdae24a91676dd59f1d59f9cc7593d4269872f1be8114f17e1b55b9