From fe8b06cf4e7b238aeccccf8a23d4ce9f6a76e134 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 23:16:22 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-string_cache.spec | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/rust-string_cache.spec b/rust-string_cache.spec index 262a226..38329e3 100644 --- a/rust-string_cache.spec +++ b/rust-string_cache.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate string_cache Name: rust-%{crate} Version: 0.7.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: String interning library for Rust, developed as part of the Servo project # Upstream license specification: MIT / Apache-2.0 @@ -15,21 +15,14 @@ URL: https://crates.io/crates/string_cache Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(new_debug_unreachable/default) >= 1.0.0 with crate(new_debug_unreachable/default) < 2.0.0) -BuildRequires: (crate(phf_shared/default) >= 0.7.4 with crate(phf_shared/default) < 0.8.0) -BuildRequires: (crate(precomputed-hash/default) >= 0.1.0 with crate(precomputed-hash/default) < 0.2.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(string_cache_codegen/default) >= 0.4.0 with crate(string_cache_codegen/default) < 0.5.0) -BuildRequires: (crate(string_cache_shared/default) >= 0.3.0 with crate(string_cache_shared/default) < 0.4.0) -%if %{with check} -BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) -%endif -%global _description \ -A string interning library for Rust, developed as part of the Servo project. +%global _description %{expand: +String interning library for Rust, developed as part of the Servo project.} %description %{_description} @@ -87,6 +80,9 @@ which use "unstable" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -99,5 +95,8 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:16:04 CEST 2019 Igor Gnatenko - 0.7.3-2 +- Regenerate + * Mon Mar 11 2019 Igor Gnatenko - 0.7.3-1 - Initial package