From 1a2db97f08852ace4d1471423b010d675acf40a8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 9 Jun 2019 12:28:38 +0200 Subject: [PATCH] Fix skip_build Signed-off-by: Igor Gnatenko --- rust-byteorder.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rust-byteorder.spec b/rust-byteorder.spec index 544a5d7..6c18805 100644 --- a/rust-byteorder.spec +++ b/rust-byteorder.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 1.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for reading/writing numbers in big-endian and little-endian # Upstream license specification: Unlicense OR MIT @@ -22,10 +22,12 @@ BuildArch: noarch %endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} %if %{with check} BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0) BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) %endif +%endif %global _description %{expand: Library for reading/writing numbers in big-endian and little-endian.} @@ -98,6 +100,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 12:28:17 CEST 2019 Igor Gnatenko - 1.3.1-4 +- Fix skip_build + * Sat Jun 08 23:51:46 CEST 2019 Igor Gnatenko - 1.3.1-3 - Regenerate