diff --git a/rust-bstr.spec b/rust-bstr.spec index 85156ac..f680fdd 100644 --- a/rust-bstr.spec +++ b/rust-bstr.spec @@ -1,12 +1,12 @@ # Generated by rust2rpm 9 -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate bstr Name: rust-%{crate} Version: 0.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: String type that is not required to be valid UTF-8 # Upstream license specification: MIT OR Apache-2.0 @@ -15,8 +15,12 @@ URL: https://crates.io/crates/bstr Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(memchr) >= 2.1.2 with crate(memchr) < 3.0.0) BuildRequires: (crate(memchr/use_std) >= 2.1.2 with crate(memchr/use_std) < 3.0.0) @@ -26,6 +30,7 @@ BuildRequires: (crate(quickcheck) >= 0.8.1 with crate(quickcheck) < 0.9.0) BuildRequires: (crate(ucd-parse/default) >= 0.1.3 with crate(ucd-parse/default) < 0.2.0) BuildRequires: (crate(unicode-segmentation/default) >= 1.2.1 with crate(unicode-segmentation/default) < 2.0.0) %endif +%endif %global _description %{expand: String type that is not required to be valid UTF-8.} @@ -158,6 +163,9 @@ which use "unicode" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 08 23:48:42 CEST 2019 Igor Gnatenko - 0.1.4-2 +- Regenerate + * Thu May 30 17:40:51 CEST 2019 Igor Gnatenko - 0.1.4-1 - Update to 0.1.4