|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * crypto-tests is not packaged
|
|
|
|
# * crypto-tests is not packaged
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.7.0
|
|
|
|
Version: 0.7.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
|
|
|
|
Summary: HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -19,20 +19,14 @@ Source: %{crates_source}
|
|
|
|
Patch0: hkdf-fix-metadata.diff
|
|
|
|
Patch0: hkdf-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(digest/default) >= 0.8.0 with crate(digest/default) < 0.9.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(hmac/default) >= 0.7.0 with crate(hmac/default) < 0.8.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(bencher/default) >= 0.1.0 with crate(bencher/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(crypto-tests/default) >= 0.5.0 with crate(crypto-tests/default) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(hex/default) >= 0.3.0 with crate(hex/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(sha-1/default) >= 0.8.0 with crate(sha-1/default) < 0.9.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(sha2/default) >= 0.8.0 with crate(sha2/default) < 0.9.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
HMAC-based Extract-and-Expand Key Derivation Function (HKDF).
|
|
|
|
HMAC-based Extract-and-Expand Key Derivation Function (HKDF).}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -78,6 +72,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -90,5 +87,8 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jun 22 12:44:08 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-2
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
|
|
|
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|