Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent efdf11023e
commit 83f0c5fda6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,12 +1,12 @@
# Generated by rust2rpm
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate hmac
Name: rust-%{crate}
Version: 0.7.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Generic implementation of Hash-based Message Authentication Code (HMAC)
# Upstream license specification: MIT OR Apache-2.0
@ -15,19 +15,14 @@ URL: https://crates.io/crates/hmac
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(crypto-mac/default) >= 0.7.0 with crate(crypto-mac/default) < 0.8.0)
BuildRequires: (crate(digest/default) >= 0.8.0 with crate(digest/default) < 0.9.0)
%if %{with check}
BuildRequires: (crate(crypto-mac/default) >= 0.7.0 with crate(crypto-mac/default) < 0.8.0)
BuildRequires: (crate(crypto-mac/dev) >= 0.7.0 with crate(crypto-mac/dev) < 0.8.0)
BuildRequires: (crate(md-5) >= 0.8.0 with crate(md-5) < 0.9.0)
BuildRequires: (crate(sha2) >= 0.8.0 with crate(sha2) < 0.9.0)
%endif
%global _description \
Generic implementation of Hash-based Message Authentication Code (HMAC).
%global _description %{expand:
Generic implementation of Hash-based Message Authentication Code (HMAC).}
%description %{_description}
@ -60,6 +55,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -72,5 +70,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jun 22 16:16:44 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
- Initial package

Loading…
Cancel
Save