diff --git a/.gitignore b/.gitignore index 9b47385..7692de9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /hkdf-0.9.0.crate /hkdf-0.10.0.crate /hkdf-0.11.0.crate +/hkdf-0.12.3.crate diff --git a/rust-hkdf.spec b/rust-hkdf.spec index 3528a64..0a99d82 100644 --- a/rust-hkdf.spec +++ b/rust-hkdf.spec @@ -1,24 +1,20 @@ -# Generated by rust2rpm 18 -# * crypto-tests dev-dependency is really old and not packaged -%bcond_with check +# Generated by rust2rpm 20 +%bcond_without check %global debug_package %{nil} %global crate hkdf Name: rust-%{crate} -Version: 0.11.0 +Version: 0.12.3 Release: %autorelease Summary: HMAC-based Extract-and-Expand Key Derivation Function (HKDF) -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/hkdf Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -59,8 +55,8 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 430b653..0fab02a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hkdf-0.11.0.crate) = 54255df9d478422d090103b6d66a31280a4c99025834e7930c21bfc7772f713015304f288de16ba3b91628714cde94b552eb1086724bc45e163c74fefa1393bf +SHA512 (hkdf-0.12.3.crate) = bba8bd837e994e5f5131d4269fb80fb84d789dc0ca68dd967d71e92576617c933ee8c355427b470ad71ab89178b1c36e8a7e122457287f023dd4073605784d3f