diff --git a/rust-phf_generator.spec b/rust-phf_generator.spec index 01921ac..7f02145 100644 --- a/rust-phf_generator.spec +++ b/rust-phf_generator.spec @@ -1,27 +1,29 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate phf_generator Name: rust-%{crate} Version: 0.7.24 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PHF generation logic +# Upstream license specification: MIT # https://github.com/sfackler/rust-phf/pull/118 License: MIT URL: https://crates.io/crates/phf_generator Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(phf_shared/default) >= 0.7.24 with crate(phf_shared/default) < 0.8.0) -BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) -%global _description \ -PHF generation logic. +%global _description %{expand: +PHF generation logic.} %description %{_description} @@ -53,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 @@ -65,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:11:12 CEST 2019 Igor Gnatenko - 0.7.24-4 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.7.24-3 - Adapt to new packaging