diff --git a/rust-string_cache_codegen.spec b/rust-string_cache_codegen.spec index 61d94a0..6edffa4 100644 --- a/rust-string_cache_codegen.spec +++ b/rust-string_cache_codegen.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_codegen Name: rust-%{crate} Version: 0.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Codegen library for string-cache, developed as part of the Servo project # Upstream license specification: MIT / Apache-2.0 @@ -16,16 +16,14 @@ URL: https://crates.io/crates/string_cache_codegen Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(phf_generator/default) >= 0.7.15 with crate(phf_generator/default) < 0.8.0) -BuildRequires: (crate(phf_shared/default) >= 0.7.4 with crate(phf_shared/default) < 0.8.0) -BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0) -BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0) -BuildRequires: (crate(string_cache_shared/default) >= 0.3.0 with crate(string_cache_shared/default) < 0.4.0) -%global _description \ -A codegen library for string-cache, developed as part of the Servo project. +%global _description %{expand: +Codegen library for string-cache, developed as part of the Servo project.} %description %{_description} @@ -57,6 +55,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 @@ -69,5 +70,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 10:29:09 CEST 2019 Igor Gnatenko - 0.4.2-2 +- Regenerate + * Mon Mar 11 2019 Igor Gnatenko - 0.4.2-1 - Initial package