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

@ -1,13 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate sha1 %global crate sha1
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.6.0 Version: 0.6.0
Release: 6%{?dist} Release: 7%{?dist}
Summary: Minimal implementation of SHA1 for Rust Summary: Minimal implementation of SHA1 for Rust
# Upstream license specification: BSD-3-Clause # Upstream license specification: BSD-3-Clause
@ -18,16 +17,14 @@ Source: %{crates_source}
Patch0001: 0001-guard-hexdigest-doctest-by-cfg-feature-std.patch Patch0001: 0001-guard-hexdigest-doctest-by-cfg-feature-std.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if %{with check}
BuildRequires: (crate(openssl/default) >= 0.10.0 with crate(openssl/default) < 0.11.0)
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
%endif
%global _description \ %global _description %{expand:
Minimal implementation of SHA1 for Rust. Minimal implementation of SHA1 for Rust.}
%description %{_description} %description %{_description}
@ -86,6 +83,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
@ -98,6 +98,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 16:51:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-7
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-6 * Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-6
- Do not pull optional dependencies - Do not pull optional dependencies

Loading…
Cancel
Save