diff --git a/rust-base64.spec b/rust-base64.spec index 52a8d80..01db25b 100644 --- a/rust-base64.spec +++ b/rust-base64.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.10.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Encodes and decodes base64 as bytes or utf8 # Upstream license specification: MIT/Apache-2.0 @@ -20,13 +20,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -BuildRequires: (crate(byteorder/default) >= 1.2.6 with crate(byteorder/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(criterion/default) >= 0.2.0 with crate(criterion/default) < 0.3.0) -BuildRequires: (crate(rand/default) >= 0.6.1 with crate(rand/default) < 0.7.0) -%endif -%endif %global _description %{expand: Encodes and decodes base64 as bytes or utf8.} @@ -63,6 +56,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 @@ -75,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 20:16:08 CEST 2019 Igor Gnatenko - 0.10.1-4 +- Regenerate + * Sat Jun 08 23:41:47 CEST 2019 Igor Gnatenko - 0.10.1-3 - Regenerate